ArmPolicyInsightsModelFactory.PolicyAttestationData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of PolicyAttestationData.
public static Azure.ResourceManager.PolicyInsights.PolicyAttestationData PolicyAttestationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.ResourceIdentifier policyAssignmentId = default, string policyDefinitionReferenceId = default, Azure.ResourceManager.PolicyInsights.Models.PolicyComplianceState? complianceState = default, DateTimeOffset? expireOn = default, string owner = default, string comments = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PolicyInsights.Models.AttestationEvidence> evidence = default, string provisioningState = default, DateTimeOffset? lastComplianceStateChangeOn = default, DateTimeOffset? assessOn = default, BinaryData metadata = default);
static member PolicyAttestationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.PolicyInsights.Models.PolicyComplianceState> * Nullable<DateTimeOffset> * string * string * seq<Azure.ResourceManager.PolicyInsights.Models.AttestationEvidence> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * BinaryData -> Azure.ResourceManager.PolicyInsights.PolicyAttestationData
Public Shared Function PolicyAttestationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional policyAssignmentId As ResourceIdentifier = Nothing, Optional policyDefinitionReferenceId As String = Nothing, Optional complianceState As Nullable(Of PolicyComplianceState) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional owner As String = Nothing, Optional comments As String = Nothing, Optional evidence As IEnumerable(Of AttestationEvidence) = Nothing, Optional provisioningState As String = Nothing, Optional lastComplianceStateChangeOn As Nullable(Of DateTimeOffset) = Nothing, Optional assessOn As Nullable(Of DateTimeOffset) = Nothing, Optional metadata As BinaryData = Nothing) As PolicyAttestationData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- policyAssignmentId
- ResourceIdentifier
The resource ID of the policy assignment that the attestation is setting the state for.
- policyDefinitionReferenceId
- String
The policy definition reference ID from a policy set definition that the attestation is setting the state for. If the policy assignment assigns a policy set definition the attestation can choose a definition within the set definition with this property or omit this and set the state for the entire set definition.
- complianceState
- Nullable<PolicyComplianceState>
The compliance state that should be set on the resource.
- expireOn
- Nullable<DateTimeOffset>
The time the compliance state should expire.
- owner
- String
The person responsible for setting the state of the resource. This value is typically an Azure Active Directory object ID.
- comments
- String
Comments describing why this attestation was created.
- evidence
- IEnumerable<AttestationEvidence>
The evidence supporting the compliance state set in this attestation.
- provisioningState
- String
The status of the attestation.
- lastComplianceStateChangeOn
- Nullable<DateTimeOffset>
The time the compliance state was last changed in this attestation.
- assessOn
- Nullable<DateTimeOffset>
The time the evidence was assessed.
- metadata
- BinaryData
Additional metadata for this attestation.
Returns
A new PolicyAttestationData instance for mocking.
Applies to
Azure SDK for .NET