Class ServiceDelegationPropertiesFormat

java.lang.Object
com.azure.resourcemanager.network.fluent.models.ServiceDelegationPropertiesFormat

public final class ServiceDelegationPropertiesFormat extends Object
Properties of a service delegation.
  • Constructor Details

    • ServiceDelegationPropertiesFormat

      public ServiceDelegationPropertiesFormat()
      Creates an instance of ServiceDelegationPropertiesFormat class.
  • Method Details

    • serviceName

      public String serviceName()
      Get the serviceName property: The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
      Returns:
      the serviceName value.
    • withServiceName

      public ServiceDelegationPropertiesFormat withServiceName(String serviceName)
      Set the serviceName property: The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
      Parameters:
      serviceName - the serviceName value to set.
      Returns:
      the ServiceDelegationPropertiesFormat object itself.
    • actions

      public List<String> actions()
      Get the actions property: The actions permitted to the service upon delegation.
      Returns:
      the actions value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the service delegation resource.
      Returns:
      the provisioningState value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.