CustomIpPrefixInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. CustomIpPrefixInner
- com.
- com.
- com.
public final class CustomIpPrefixInner
extends Resource
Custom IP prefix resource.
Constructor Summary
Constructor | Description |
---|---|
CustomIpPrefixInner() |
Creates an instance of Custom |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
asn()
Get the asn property: The ASN for CIDR advertising. |
String |
authorizationMessage()
Get the authorization |
List<Sub |
childCustomIpPrefixes()
Get the child |
String |
cidr()
Get the cidr property: The prefix range in CIDR notation. |
Commissioned |
commissionedState()
Get the commissioned |
Sub |
customIpPrefixParent()
Get the custom |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
Boolean |
expressRouteAdvertise()
Get the express |
Extended |
extendedLocation()
Get the extended |
String |
failedReason()
Get the failed |
static
Custom |
fromJson(JsonReader jsonReader)
Reads an instance of Custom |
Geo |
geo()
Get the geo property: The Geo for CIDR advertising. |
String |
id()
Get the id property: Resource ID. |
String |
name()
Get the name property: The name of the resource. |
Boolean |
noInternetAdvertise()
Get the no |
Custom |
prefixType()
Get the prefix |
Provisioning |
provisioningState()
Get the provisioning |
List<Sub |
publicIpPrefixes()
Get the public |
String |
resourceGuid()
Get the resource |
String |
signedMessage()
Get the signed |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Custom |
withAsn(String asn)
Set the asn property: The ASN for CIDR advertising. |
Custom |
withAuthorizationMessage(String authorizationMessage)
Set the authorization |
Custom |
withCidr(String cidr)
Set the cidr property: The prefix range in CIDR notation. |
Custom |
withCommissionedState(CommissionedState commissionedState)
Set the commissioned |
Custom |
withCustomIpPrefixParent(SubResource customIpPrefixParent)
Set the custom |
Custom |
withExpressRouteAdvertise(Boolean expressRouteAdvertise)
Set the express |
Custom |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
Custom |
withGeo(Geo geo)
Set the geo property: The Geo for CIDR advertising. |
Custom |
withId(String id)
Set the id property: Resource ID. |
Custom |
withLocation(String location) |
Custom |
withNoInternetAdvertise(Boolean noInternetAdvertise)
Set the no |
Custom |
withPrefixType(CustomIpPrefixType prefixType)
Set the prefix |
Custom |
withSignedMessage(String signedMessage)
Set the signed |
Custom |
withTags(Map<String,String> tags) |
Custom |
withZones(List<String> zones)
Set the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from. |
List<String> |
zones()
Get the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
CustomIpPrefixInner
public CustomIpPrefixInner()
Creates an instance of CustomIpPrefixInner class.
Method Details
asn
public String asn()
Get the asn property: The ASN for CIDR advertising. Should be an integer as string.
Returns:
authorizationMessage
public String authorizationMessage()
Get the authorizationMessage property: Authorization message for WAN validation.
Returns:
childCustomIpPrefixes
public List
Get the childCustomIpPrefixes property: The list of all Children for IPv6 /48 CustomIpPrefix.
Returns:
cidr
public String cidr()
Get the cidr property: The prefix range in CIDR notation. Should include the start address and the prefix length.
Returns:
commissionedState
public CommissionedState commissionedState()
Get the commissionedState property: The commissioned state of the Custom IP Prefix.
Returns:
customIpPrefixParent
public SubResource customIpPrefixParent()
Get the customIpPrefixParent property: The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
expressRouteAdvertise
public Boolean expressRouteAdvertise()
Get the expressRouteAdvertise property: Whether to do express route advertise.
Returns:
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: The extended location of the custom IP prefix.
Returns:
failedReason
public String failedReason()
Get the failedReason property: The reason why resource is in failed state.
Returns:
fromJson
public static CustomIpPrefixInner fromJson(JsonReader jsonReader)
Reads an instance of CustomIpPrefixInner from the JsonReader.
Parameters:
Returns:
Throws:
geo
public Geo geo()
Get the geo property: The Geo for CIDR advertising. Should be an Geo code.
Returns:
id
public String id()
Get the id property: Resource ID.
Overrides:
CustomIpPrefixInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
CustomIpPrefixInner.name()Returns:
noInternetAdvertise
public Boolean noInternetAdvertise()
Get the noInternetAdvertise property: Whether to Advertise the range to Internet.
Returns:
prefixType
public CustomIpPrefixType prefixType()
Get the prefixType property: Type of custom IP prefix. Should be Singular, Parent, or Child.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the custom IP prefix resource.
Returns:
publicIpPrefixes
public List
Get the publicIpPrefixes property: The list of all referenced PublicIpPrefixes.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the custom IP prefix resource.
Returns:
signedMessage
public String signedMessage()
Get the signedMessage property: Signed message for WAN validation.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CustomIpPrefixInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
CustomIpPrefixInner.type()Returns:
validate
public void validate()
Validates the instance.
withAsn
public CustomIpPrefixInner withAsn(String asn)
Set the asn property: The ASN for CIDR advertising. Should be an integer as string.
Parameters:
Returns:
withAuthorizationMessage
public CustomIpPrefixInner withAuthorizationMessage(String authorizationMessage)
Set the authorizationMessage property: Authorization message for WAN validation.
Parameters:
Returns:
withCidr
public CustomIpPrefixInner withCidr(String cidr)
Set the cidr property: The prefix range in CIDR notation. Should include the start address and the prefix length.
Parameters:
Returns:
withCommissionedState
public CustomIpPrefixInner withCommissionedState(CommissionedState commissionedState)
Set the commissionedState property: The commissioned state of the Custom IP Prefix.
Parameters:
Returns:
withCustomIpPrefixParent
public CustomIpPrefixInner withCustomIpPrefixParent(SubResource customIpPrefixParent)
Set the customIpPrefixParent property: The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.
Parameters:
Returns:
withExpressRouteAdvertise
public CustomIpPrefixInner withExpressRouteAdvertise(Boolean expressRouteAdvertise)
Set the expressRouteAdvertise property: Whether to do express route advertise.
Parameters:
Returns:
withExtendedLocation
public CustomIpPrefixInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location of the custom IP prefix.
Parameters:
Returns:
withGeo
public CustomIpPrefixInner withGeo(Geo geo)
Set the geo property: The Geo for CIDR advertising. Should be an Geo code.
Parameters:
Returns:
withId
public CustomIpPrefixInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withLocation
public CustomIpPrefixInner withLocation(String location)
Overrides:
CustomIpPrefixInner.withLocation(String location)Parameters:
withNoInternetAdvertise
public CustomIpPrefixInner withNoInternetAdvertise(Boolean noInternetAdvertise)
Set the noInternetAdvertise property: Whether to Advertise the range to Internet.
Parameters:
Returns:
withPrefixType
public CustomIpPrefixInner withPrefixType(CustomIpPrefixType prefixType)
Set the prefixType property: Type of custom IP prefix. Should be Singular, Parent, or Child.
Parameters:
Returns:
withSignedMessage
public CustomIpPrefixInner withSignedMessage(String signedMessage)
Set the signedMessage property: Signed message for WAN validation.
Parameters:
Returns:
withTags
public CustomIpPrefixInner withTags(Map
Overrides:
CustomIpPrefixInner.withTags(Map<String,String> tags)Parameters:
withZones
public CustomIpPrefixInner withZones(List
Set the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from.
Parameters:
Returns:
zones
public List
Get the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from.
Returns:
Applies to
Azure SDK for Java