Share via


ServiceEndpointPolicyDefinition Class

Definition

Service Endpoint policy definitions.

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

Constructors

ServiceEndpointPolicyDefinition()

Creates an new ServiceEndpointPolicyDefinition instance.

Properties

Description

A description for this rule. Restricted to 140 chars.

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 resource group. This name can be used to access the resource.

ProvisioningState

The provisioning state of the service endpoint policy definition resource.

Service

Service endpoint name.

ServiceResource

A list of service resources.

Type

The type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ServiceEndpointPolicyDefinition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ServiceEndpointPolicyDefinition.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ServiceEndpointPolicyDefinition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to