CustomIpPrefixPropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. CustomIpPrefixPropertiesFormat
- com.
Implements
public final class CustomIpPrefixPropertiesFormat
implements JsonSerializable<CustomIpPrefixPropertiesFormat>
Custom IP prefix properties.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomIpPrefixPropertiesFormat() |
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 |
| Boolean |
expressRouteAdvertise()
Get the express |
| 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. |
| 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) |
| 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 |
withGeo(Geo geo)
Set the geo property: The Geo for CIDR advertising. |
|
Custom |
withNoInternetAdvertise(Boolean noInternetAdvertise)
Set the no |
|
Custom |
withPrefixType(CustomIpPrefixType prefixType)
Set the prefix |
|
Custom |
withSignedMessage(String signedMessage)
Set the signed |
Methods inherited from java.lang.Object
Constructor Details
CustomIpPrefixPropertiesFormat
public CustomIpPrefixPropertiesFormat()
Creates an instance of CustomIpPrefixPropertiesFormat 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<SubResource> childCustomIpPrefixes()
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:
expressRouteAdvertise
public Boolean expressRouteAdvertise()
Get the expressRouteAdvertise property: Whether to do express route advertise.
Returns:
failedReason
public String failedReason()
Get the failedReason property: The reason why resource is in failed state.
Returns:
fromJson
public static CustomIpPrefixPropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of CustomIpPrefixPropertiesFormat 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:
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<SubResource> publicIpPrefixes()
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
validate
public void validate()
Validates the instance.
withAsn
public CustomIpPrefixPropertiesFormat withAsn(String asn)
Set the asn property: The ASN for CIDR advertising. Should be an integer as string.
Parameters:
Returns:
withAuthorizationMessage
public CustomIpPrefixPropertiesFormat withAuthorizationMessage(String authorizationMessage)
Set the authorizationMessage property: Authorization message for WAN validation.
Parameters:
Returns:
withCidr
public CustomIpPrefixPropertiesFormat 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 CustomIpPrefixPropertiesFormat withCommissionedState(CommissionedState commissionedState)
Set the commissionedState property: The commissioned state of the Custom IP Prefix.
Parameters:
Returns:
withCustomIpPrefixParent
public CustomIpPrefixPropertiesFormat withCustomIpPrefixParent(SubResource customIpPrefixParent)
Set the customIpPrefixParent property: The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.
Parameters:
Returns:
withExpressRouteAdvertise
public CustomIpPrefixPropertiesFormat withExpressRouteAdvertise(Boolean expressRouteAdvertise)
Set the expressRouteAdvertise property: Whether to do express route advertise.
Parameters:
Returns:
withGeo
public CustomIpPrefixPropertiesFormat withGeo(Geo geo)
Set the geo property: The Geo for CIDR advertising. Should be an Geo code.
Parameters:
Returns:
withNoInternetAdvertise
public CustomIpPrefixPropertiesFormat withNoInternetAdvertise(Boolean noInternetAdvertise)
Set the noInternetAdvertise property: Whether to Advertise the range to Internet.
Parameters:
Returns:
withPrefixType
public CustomIpPrefixPropertiesFormat withPrefixType(CustomIpPrefixType prefixType)
Set the prefixType property: Type of custom IP prefix. Should be Singular, Parent, or Child.
Parameters:
Returns:
withSignedMessage
public CustomIpPrefixPropertiesFormat withSignedMessage(String signedMessage)
Set the signedMessage property: Signed message for WAN validation.
Parameters:
Returns: