Share via


PolicyAssignmentArtifact Class

Definition

Blueprint artifact that applies a Policy assignment.

[Microsoft.Rest.Serialization.JsonTransformation]
[Newtonsoft.Json.JsonObject("policyAssignment")]
public class PolicyAssignmentArtifact : Microsoft.Azure.Management.Blueprint.Models.Artifact
[<Microsoft.Rest.Serialization.JsonTransformation>]
[<Newtonsoft.Json.JsonObject("policyAssignment")>]
type PolicyAssignmentArtifact = class
    inherit Artifact
Public Class PolicyAssignmentArtifact
Inherits Artifact
Inheritance
PolicyAssignmentArtifact
Attributes
JsonTransformationAttribute Newtonsoft.Json.JsonObjectAttribute

Constructors

PolicyAssignmentArtifact()

Initializes a new instance of the PolicyAssignmentArtifact class.

PolicyAssignmentArtifact(String, IDictionary<String,ParameterValue>, String, String, String, String, String, IList<String>, String)

Initializes a new instance of the PolicyAssignmentArtifact class.

Properties

DependsOn

Gets or sets artifacts which need to be deployed before the specified artifact.

Description

Gets or sets multi-line explain this resource.

DisplayName

Gets or sets one-liner string explain this resource.

Id

Gets string Id used to locate any resource on Azure.

(Inherited from AzureResourceBase)
Name

Gets name of this resource.

(Inherited from AzureResourceBase)
Parameters

Gets or sets parameter values for the policy definition.

PolicyDefinitionId

Gets or sets azure resource ID of the policy definition.

ResourceGroup

Gets or sets name of the resource group placeholder to which the policy will be assigned.

Type

Gets type of this resource.

(Inherited from AzureResourceBase)

Methods

Validate()

Validate the object.

Applies to