Class CustomIpPrefixInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.network.fluent.models.CustomIpPrefixInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class CustomIpPrefixInner
extends com.azure.core.management.Resource
Custom IP prefix resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasn()Get the asn property: The ASN for CIDR advertising.Get the authorizationMessage property: Authorization message for WAN validation.List<com.azure.core.management.SubResource>Get the childCustomIpPrefixes property: The list of all Children for IPv6 /48 CustomIpPrefix.cidr()Get the cidr property: The prefix range in CIDR notation.Get the commissionedState property: The commissioned state of the Custom IP Prefix.com.azure.core.management.SubResourceGet the customIpPrefixParent property: The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.etag()Get the etag property: A unique read-only string that changes whenever the resource is updated.Get the expressRouteAdvertise property: Whether to do express route advertise.Get the extendedLocation property: The extended location of the custom IP prefix.Get the failedReason property: The reason why resource is in failed state.geo()Get the geo property: The Geo for CIDR advertising.id()Get the id property: Resource ID.Get the noInternetAdvertise property: Whether to Advertise the range to Internet.Get the prefixType property: Type of custom IP prefix.Get the provisioningState property: The provisioning state of the custom IP prefix resource.List<com.azure.core.management.SubResource>Get the publicIpPrefixes property: The list of all referenced PublicIpPrefixes.Get the resourceGuid property: The resource GUID property of the custom IP prefix resource.Get the signedMessage property: Signed message for WAN validation.voidvalidate()Validates the instance.Set the asn property: The ASN for CIDR advertising.withAuthorizationMessage(String authorizationMessage) Set the authorizationMessage property: Authorization message for WAN validation.Set the cidr property: The prefix range in CIDR notation.withCommissionedState(CommissionedState commissionedState) Set the commissionedState property: The commissioned state of the Custom IP Prefix.withCustomIpPrefixParent(com.azure.core.management.SubResource customIpPrefixParent) Set the customIpPrefixParent property: The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.withExpressRouteAdvertise(Boolean expressRouteAdvertise) Set the expressRouteAdvertise property: Whether to do express route advertise.withExtendedLocation(ExtendedLocation extendedLocation) Set the extendedLocation property: The extended location of the custom IP prefix.Set the geo property: The Geo for CIDR advertising.Set the id property: Resource ID.withLocation(String location) withNoInternetAdvertise(Boolean noInternetAdvertise) Set the noInternetAdvertise property: Whether to Advertise the range to Internet.withPrefixType(CustomIpPrefixType prefixType) Set the prefixType property: Type of custom IP prefix.withSignedMessage(String signedMessage) Set the signedMessage property: Signed message for WAN validation.Set the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from.zones()Get the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from.Methods inherited from class com.azure.core.management.Resource
fromJson, location, tags, toJsonMethods inherited from class com.azure.core.management.ProxyResource
name, type
-
Constructor Details
-
CustomIpPrefixInner
public CustomIpPrefixInner()Creates an instance of CustomIpPrefixInner class.
-
-
Method Details
-
extendedLocation
Get the extendedLocation property: The extended location of the custom IP prefix.- Returns:
- the extendedLocation value.
-
withExtendedLocation
Set the extendedLocation property: The extended location of the custom IP prefix.- Parameters:
extendedLocation- the extendedLocation value to set.- Returns:
- the CustomIpPrefixInner object itself.
-
etag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
zones
Get the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from.- Returns:
- the zones value.
-
withZones
Set the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from.- Parameters:
zones- the zones value to set.- Returns:
- the CustomIpPrefixInner object itself.
-
id
Get the id property: Resource ID.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the CustomIpPrefixInner object itself.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
asn
Get the asn property: The ASN for CIDR advertising. Should be an integer as string.- Returns:
- the asn value.
-
withAsn
Set the asn property: The ASN for CIDR advertising. Should be an integer as string.- Parameters:
asn- the asn value to set.- Returns:
- the CustomIpPrefixInner object itself.
-
cidr
Get the cidr property: The prefix range in CIDR notation. Should include the start address and the prefix length.- Returns:
- the cidr value.
-
withCidr
Set the cidr property: The prefix range in CIDR notation. Should include the start address and the prefix length.- Parameters:
cidr- the cidr value to set.- Returns:
- the CustomIpPrefixInner object itself.
-
signedMessage
Get the signedMessage property: Signed message for WAN validation.- Returns:
- the signedMessage value.
-
withSignedMessage
Set the signedMessage property: Signed message for WAN validation.- Parameters:
signedMessage- the signedMessage value to set.- Returns:
- the CustomIpPrefixInner object itself.
-
authorizationMessage
Get the authorizationMessage property: Authorization message for WAN validation.- Returns:
- the authorizationMessage value.
-
withAuthorizationMessage
Set the authorizationMessage property: Authorization message for WAN validation.- Parameters:
authorizationMessage- the authorizationMessage value to set.- Returns:
- the CustomIpPrefixInner object itself.
-
customIpPrefixParent
public com.azure.core.management.SubResource customIpPrefixParent()Get the customIpPrefixParent property: The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.- Returns:
- the customIpPrefixParent value.
-
withCustomIpPrefixParent
public CustomIpPrefixInner withCustomIpPrefixParent(com.azure.core.management.SubResource customIpPrefixParent) Set the customIpPrefixParent property: The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.- Parameters:
customIpPrefixParent- the customIpPrefixParent value to set.- Returns:
- the CustomIpPrefixInner object itself.
-
childCustomIpPrefixes
Get the childCustomIpPrefixes property: The list of all Children for IPv6 /48 CustomIpPrefix.- Returns:
- the childCustomIpPrefixes value.
-
commissionedState
Get the commissionedState property: The commissioned state of the Custom IP Prefix.- Returns:
- the commissionedState value.
-
withCommissionedState
Set the commissionedState property: The commissioned state of the Custom IP Prefix.- Parameters:
commissionedState- the commissionedState value to set.- Returns:
- the CustomIpPrefixInner object itself.
-
expressRouteAdvertise
Get the expressRouteAdvertise property: Whether to do express route advertise.- Returns:
- the expressRouteAdvertise value.
-
withExpressRouteAdvertise
Set the expressRouteAdvertise property: Whether to do express route advertise.- Parameters:
expressRouteAdvertise- the expressRouteAdvertise value to set.- Returns:
- the CustomIpPrefixInner object itself.
-
geo
Get the geo property: The Geo for CIDR advertising. Should be an Geo code.- Returns:
- the geo value.
-
withGeo
Set the geo property: The Geo for CIDR advertising. Should be an Geo code.- Parameters:
geo- the geo value to set.- Returns:
- the CustomIpPrefixInner object itself.
-
noInternetAdvertise
Get the noInternetAdvertise property: Whether to Advertise the range to Internet.- Returns:
- the noInternetAdvertise value.
-
withNoInternetAdvertise
Set the noInternetAdvertise property: Whether to Advertise the range to Internet.- Parameters:
noInternetAdvertise- the noInternetAdvertise value to set.- Returns:
- the CustomIpPrefixInner object itself.
-
prefixType
Get the prefixType property: Type of custom IP prefix. Should be Singular, Parent, or Child.- Returns:
- the prefixType value.
-
withPrefixType
Set the prefixType property: Type of custom IP prefix. Should be Singular, Parent, or Child.- Parameters:
prefixType- the prefixType value to set.- Returns:
- the CustomIpPrefixInner object itself.
-
publicIpPrefixes
Get the publicIpPrefixes property: The list of all referenced PublicIpPrefixes.- Returns:
- the publicIpPrefixes value.
-
resourceGuid
Get the resourceGuid property: The resource GUID property of the custom IP prefix resource.- Returns:
- the resourceGuid value.
-
failedReason
Get the failedReason property: The reason why resource is in failed state.- Returns:
- the failedReason value.
-
provisioningState
Get the provisioningState property: The provisioning state of the custom IP prefix resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-