Delegation Class

  • java.lang.Object
    • com.microsoft.azure.SubResource
      • com.microsoft.azure.management.network.Delegation

public class Delegation
extends com.microsoft.azure.SubResource

Details the service to which the subnet is delegated.

Constructor Summary

Constructor Description
Delegation()

Method Summary

Modifier and Type Method and Description
java.util.List<java.lang.String> actions()

Get the actions permitted to the service upon delegation.

java.lang.String etag()

Get a unique read-only string that changes whenever the resource is updated.

java.lang.String name()

Get the name of the resource that is unique within a subnet.

ProvisioningState provisioningState()

Get the provisioning state of the service delegation resource.

java.lang.String serviceName()

Get the name of the service to whom the subnet should be delegated (e.g.

Delegation withName(String name)

Set the name of the resource that is unique within a subnet.

Delegation withServiceName(String serviceName)

Set the name of the service to whom the subnet should be delegated (e.g.

Methods inherited from com.microsoft.azure.SubResource

com.microsoft.azure.SubResource.id com.microsoft.azure.SubResource.withId

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

Delegation

public Delegation()

Method Details

actions

public List actions()

Get the actions permitted to the service upon delegation.

Returns:

the actions value

etag

public String etag()

Get a unique read-only string that changes whenever the resource is updated.

Returns:

the etag value

name

public String name()

Get the name of the resource that is unique within a subnet. This name can be used to access the resource.

Returns:

the name value

provisioningState

public ProvisioningState provisioningState()

Get the provisioning state of the service delegation resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.

Returns:

the provisioningState value

serviceName

public String serviceName()

Get the name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).

Returns:

the serviceName value

withName

public Delegation withName(String name)

Set the name of the resource that is unique within a subnet. This name can be used to access the resource.

Parameters:

name - the name value to set

Returns:

the Delegation object itself.

withServiceName

public Delegation withServiceName(String serviceName)

Set 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 Delegation object itself.

Applies to