你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Delegation Class

Definition

Details the service to which the subnet is delegated.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.DelegationTypeConverter))]
public class Delegation : Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IDelegation, Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.DelegationTypeConverter))>]
type Delegation = class
    interface IDelegation
    interface IJsonSerializable
    interface ISubResourceAutoGenerated
    interface IValidates
Public Class Delegation
Implements IDelegation, IValidates
Inheritance
Delegation
Attributes
Implements

Constructors

Delegation()

Creates an new Delegation instance.

Properties

Action

The actions permitted to the service upon delegation.

Etag

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

Id

Resource ID.

Name

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

ProvisioningState

The provisioning state of the service delegation resource.

ServiceName

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

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Delegation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Delegation.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IDelegation.

FromJsonString(String)

Creates a new instance of Delegation, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Delegation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to