public class BastionHostInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
BastionHostInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
dnsName()
Get the dnsName property: FQDN for the endpoint on which bastion host is accessible.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
id()
Get the id property: Resource ID.
|
List<BastionHostIpConfiguration> |
ipConfigurations()
Get the ipConfigurations property: IP configuration of the Bastion Host resource.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the bastion host resource.
|
Sku |
sku()
Get the sku property: The sku of this Bastion Host.
|
void |
validate()
Validates the instance.
|
BastionHostInner |
withDnsName(String dnsName)
Set the dnsName property: FQDN for the endpoint on which bastion host is accessible.
|
BastionHostInner |
withId(String id)
Set the id property: Resource ID.
|
BastionHostInner |
withIpConfigurations(List<BastionHostIpConfiguration> ipConfigurations)
Set the ipConfigurations property: IP configuration of the Bastion Host resource.
|
BastionHostInner |
withLocation(String location) |
BastionHostInner |
withSku(Sku sku)
Set the sku property: The sku of this Bastion Host.
|
BastionHostInner |
withTags(Map<String,String> tags) |
public String etag()
public Sku sku()
public BastionHostInner withSku(Sku sku)
sku - the sku value to set.public List<BastionHostIpConfiguration> ipConfigurations()
public BastionHostInner withIpConfigurations(List<BastionHostIpConfiguration> ipConfigurations)
ipConfigurations - the ipConfigurations value to set.public String dnsName()
public BastionHostInner withDnsName(String dnsName)
dnsName - the dnsName value to set.public ProvisioningState provisioningState()
public String id()
id in class com.azure.core.management.ProxyResourcepublic BastionHostInner withId(String id)
id - the id value to set.public BastionHostInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic BastionHostInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.