Class CustomIpPrefixInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.network.fluent.models.CustomIpPrefixInner

public final class CustomIpPrefixInner extends com.azure.core.management.Resource
Custom IP prefix resource.
  • Constructor Details

    • CustomIpPrefixInner

      public CustomIpPrefixInner()
  • Method Details

    • extendedLocation

      public ExtendedLocation extendedLocation()
      Get the extendedLocation property: The extended location of the custom IP prefix.
      Returns:
      the extendedLocation value.
    • withExtendedLocation

      public CustomIpPrefixInner withExtendedLocation(ExtendedLocation extendedLocation)
      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

      public String etag()
      Get the etag property: A unique read-only string that changes whenever the resource is updated.
      Returns:
      the etag value.
    • zones

      public List<String> 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

      public CustomIpPrefixInner withZones(List<String> zones)
      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

      public String id()
      Get the id property: Resource ID.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • withId

      public CustomIpPrefixInner withId(String id)
      Set the id property: Resource ID.
      Parameters:
      id - the id value to set.
      Returns:
      the CustomIpPrefixInner object itself.
    • withLocation

      public CustomIpPrefixInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public CustomIpPrefixInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • cidr

      public String 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

      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:
      cidr - the cidr value to set.
      Returns:
      the CustomIpPrefixInner object itself.
    • signedMessage

      public String signedMessage()
      Get the signedMessage property: Signed message for WAN validation.
      Returns:
      the signedMessage value.
    • withSignedMessage

      public CustomIpPrefixInner withSignedMessage(String signedMessage)
      Set the signedMessage property: Signed message for WAN validation.
      Parameters:
      signedMessage - the signedMessage value to set.
      Returns:
      the CustomIpPrefixInner object itself.
    • authorizationMessage

      public String authorizationMessage()
      Get the authorizationMessage property: Authorization message for WAN validation.
      Returns:
      the authorizationMessage value.
    • withAuthorizationMessage

      public CustomIpPrefixInner withAuthorizationMessage(String authorizationMessage)
      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

      public List<com.azure.core.management.SubResource> childCustomIpPrefixes()
      Get the childCustomIpPrefixes property: The list of all Children for IPv6 /48 CustomIpPrefix.
      Returns:
      the childCustomIpPrefixes value.
    • commissionedState

      public CommissionedState commissionedState()
      Get the commissionedState property: The commissioned state of the Custom IP Prefix.
      Returns:
      the commissionedState value.
    • withCommissionedState

      public CustomIpPrefixInner withCommissionedState(CommissionedState commissionedState)
      Set the commissionedState property: The commissioned state of the Custom IP Prefix.
      Parameters:
      commissionedState - the commissionedState value to set.
      Returns:
      the CustomIpPrefixInner object itself.
    • publicIpPrefixes

      public List<com.azure.core.management.SubResource> publicIpPrefixes()
      Get the publicIpPrefixes property: The list of all referenced PublicIpPrefixes.
      Returns:
      the publicIpPrefixes value.
    • resourceGuid

      public String resourceGuid()
      Get the resourceGuid property: The resource GUID property of the custom IP prefix resource.
      Returns:
      the resourceGuid value.
    • failedReason

      public String failedReason()
      Get the failedReason property: The reason why resource is in failed state.
      Returns:
      the failedReason value.
    • provisioningState

      public ProvisioningState 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.