azure-native.policyinsights.AttestationAtSubscription
Explore with Pulumi AI
An attestation resource. API Version: 2021-01-01.
Example Usage
Create attestation at subscription scope
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var attestationAtSubscription = new AzureNative.PolicyInsights.AttestationAtSubscription("attestationAtSubscription", new()
{
AttestationName = "790996e6-9871-4b1f-9cd9-ec42cd6ced1e",
ComplianceState = "Compliant",
PolicyAssignmentId = "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
});
});
package main
import (
policyinsights "github.com/pulumi/pulumi-azure-native-sdk/policyinsights"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := policyinsights.NewAttestationAtSubscription(ctx, "attestationAtSubscription", &policyinsights.AttestationAtSubscriptionArgs{
AttestationName: pulumi.String("790996e6-9871-4b1f-9cd9-ec42cd6ced1e"),
ComplianceState: pulumi.String("Compliant"),
PolicyAssignmentId: pulumi.String("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.policyinsights.AttestationAtSubscription;
import com.pulumi.azurenative.policyinsights.AttestationAtSubscriptionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var attestationAtSubscription = new AttestationAtSubscription("attestationAtSubscription", AttestationAtSubscriptionArgs.builder()
.attestationName("790996e6-9871-4b1f-9cd9-ec42cd6ced1e")
.complianceState("Compliant")
.policyAssignmentId("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
attestation_at_subscription = azure_native.policyinsights.AttestationAtSubscription("attestationAtSubscription",
attestation_name="790996e6-9871-4b1f-9cd9-ec42cd6ced1e",
compliance_state="Compliant",
policy_assignment_id="/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const attestationAtSubscription = new azure_native.policyinsights.AttestationAtSubscription("attestationAtSubscription", {
attestationName: "790996e6-9871-4b1f-9cd9-ec42cd6ced1e",
complianceState: "Compliant",
policyAssignmentId: "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
});
resources:
attestationAtSubscription:
type: azure-native:policyinsights:AttestationAtSubscription
properties:
attestationName: 790996e6-9871-4b1f-9cd9-ec42cd6ced1e
complianceState: Compliant
policyAssignmentId: /subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5
Create attestation at subscription scope with all properties
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var attestationAtSubscription = new AzureNative.PolicyInsights.AttestationAtSubscription("attestationAtSubscription", new()
{
AttestationName = "790996e6-9871-4b1f-9cd9-ec42cd6ced1e",
Comments = "This subscription has passed a security audit.",
ComplianceState = "Compliant",
Evidence = new[]
{
new AzureNative.PolicyInsights.Inputs.AttestationEvidenceArgs
{
Description = "The results of the security audit.",
SourceUri = "https://gist.github.com/contoso/9573e238762c60166c090ae16b814011",
},
},
ExpiresOn = "2021-06-15T00:00:00Z",
Owner = "55a32e28-3aa5-4eea-9b5a-4cd85153b966",
PolicyAssignmentId = "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
PolicyDefinitionReferenceId = "0b158b46-ff42-4799-8e39-08a5c23b4551",
});
});
package main
import (
policyinsights "github.com/pulumi/pulumi-azure-native-sdk/policyinsights"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := policyinsights.NewAttestationAtSubscription(ctx, "attestationAtSubscription", &policyinsights.AttestationAtSubscriptionArgs{
AttestationName: pulumi.String("790996e6-9871-4b1f-9cd9-ec42cd6ced1e"),
Comments: pulumi.String("This subscription has passed a security audit."),
ComplianceState: pulumi.String("Compliant"),
Evidence: []policyinsights.AttestationEvidenceArgs{
{
Description: pulumi.String("The results of the security audit."),
SourceUri: pulumi.String("https://gist.github.com/contoso/9573e238762c60166c090ae16b814011"),
},
},
ExpiresOn: pulumi.String("2021-06-15T00:00:00Z"),
Owner: pulumi.String("55a32e28-3aa5-4eea-9b5a-4cd85153b966"),
PolicyAssignmentId: pulumi.String("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5"),
PolicyDefinitionReferenceId: pulumi.String("0b158b46-ff42-4799-8e39-08a5c23b4551"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.policyinsights.AttestationAtSubscription;
import com.pulumi.azurenative.policyinsights.AttestationAtSubscriptionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var attestationAtSubscription = new AttestationAtSubscription("attestationAtSubscription", AttestationAtSubscriptionArgs.builder()
.attestationName("790996e6-9871-4b1f-9cd9-ec42cd6ced1e")
.comments("This subscription has passed a security audit.")
.complianceState("Compliant")
.evidence(Map.ofEntries(
Map.entry("description", "The results of the security audit."),
Map.entry("sourceUri", "https://gist.github.com/contoso/9573e238762c60166c090ae16b814011")
))
.expiresOn("2021-06-15T00:00:00Z")
.owner("55a32e28-3aa5-4eea-9b5a-4cd85153b966")
.policyAssignmentId("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5")
.policyDefinitionReferenceId("0b158b46-ff42-4799-8e39-08a5c23b4551")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
attestation_at_subscription = azure_native.policyinsights.AttestationAtSubscription("attestationAtSubscription",
attestation_name="790996e6-9871-4b1f-9cd9-ec42cd6ced1e",
comments="This subscription has passed a security audit.",
compliance_state="Compliant",
evidence=[azure_native.policyinsights.AttestationEvidenceArgs(
description="The results of the security audit.",
source_uri="https://gist.github.com/contoso/9573e238762c60166c090ae16b814011",
)],
expires_on="2021-06-15T00:00:00Z",
owner="55a32e28-3aa5-4eea-9b5a-4cd85153b966",
policy_assignment_id="/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
policy_definition_reference_id="0b158b46-ff42-4799-8e39-08a5c23b4551")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const attestationAtSubscription = new azure_native.policyinsights.AttestationAtSubscription("attestationAtSubscription", {
attestationName: "790996e6-9871-4b1f-9cd9-ec42cd6ced1e",
comments: "This subscription has passed a security audit.",
complianceState: "Compliant",
evidence: [{
description: "The results of the security audit.",
sourceUri: "https://gist.github.com/contoso/9573e238762c60166c090ae16b814011",
}],
expiresOn: "2021-06-15T00:00:00Z",
owner: "55a32e28-3aa5-4eea-9b5a-4cd85153b966",
policyAssignmentId: "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
policyDefinitionReferenceId: "0b158b46-ff42-4799-8e39-08a5c23b4551",
});
resources:
attestationAtSubscription:
type: azure-native:policyinsights:AttestationAtSubscription
properties:
attestationName: 790996e6-9871-4b1f-9cd9-ec42cd6ced1e
comments: This subscription has passed a security audit.
complianceState: Compliant
evidence:
- description: The results of the security audit.
sourceUri: https://gist.github.com/contoso/9573e238762c60166c090ae16b814011
expiresOn: 2021-06-15T00:00:00Z
owner: 55a32e28-3aa5-4eea-9b5a-4cd85153b966
policyAssignmentId: /subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5
policyDefinitionReferenceId: 0b158b46-ff42-4799-8e39-08a5c23b4551
Create AttestationAtSubscription Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AttestationAtSubscription(name: string, args: AttestationAtSubscriptionArgs, opts?: CustomResourceOptions);
@overload
def AttestationAtSubscription(resource_name: str,
args: AttestationAtSubscriptionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AttestationAtSubscription(resource_name: str,
opts: Optional[ResourceOptions] = None,
policy_assignment_id: Optional[str] = None,
attestation_name: Optional[str] = None,
comments: Optional[str] = None,
compliance_state: Optional[Union[str, ComplianceState]] = None,
evidence: Optional[Sequence[AttestationEvidenceArgs]] = None,
expires_on: Optional[str] = None,
owner: Optional[str] = None,
policy_definition_reference_id: Optional[str] = None)
func NewAttestationAtSubscription(ctx *Context, name string, args AttestationAtSubscriptionArgs, opts ...ResourceOption) (*AttestationAtSubscription, error)
public AttestationAtSubscription(string name, AttestationAtSubscriptionArgs args, CustomResourceOptions? opts = null)
public AttestationAtSubscription(String name, AttestationAtSubscriptionArgs args)
public AttestationAtSubscription(String name, AttestationAtSubscriptionArgs args, CustomResourceOptions options)
type: azure-native:policyinsights:AttestationAtSubscription
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AttestationAtSubscriptionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AttestationAtSubscriptionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AttestationAtSubscriptionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AttestationAtSubscriptionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AttestationAtSubscriptionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var attestationAtSubscriptionResource = new AzureNative.Policyinsights.AttestationAtSubscription("attestationAtSubscriptionResource", new()
{
PolicyAssignmentId = "string",
AttestationName = "string",
Comments = "string",
ComplianceState = "string",
Evidence = new[]
{
{
{ "description", "string" },
{ "sourceUri", "string" },
},
},
ExpiresOn = "string",
Owner = "string",
PolicyDefinitionReferenceId = "string",
});
example, err := policyinsights.NewAttestationAtSubscription(ctx, "attestationAtSubscriptionResource", &policyinsights.AttestationAtSubscriptionArgs{
PolicyAssignmentId: "string",
AttestationName: "string",
Comments: "string",
ComplianceState: "string",
Evidence: []map[string]interface{}{
map[string]interface{}{
"description": "string",
"sourceUri": "string",
},
},
ExpiresOn: "string",
Owner: "string",
PolicyDefinitionReferenceId: "string",
})
var attestationAtSubscriptionResource = new AttestationAtSubscription("attestationAtSubscriptionResource", AttestationAtSubscriptionArgs.builder()
.policyAssignmentId("string")
.attestationName("string")
.comments("string")
.complianceState("string")
.evidence(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.expiresOn("string")
.owner("string")
.policyDefinitionReferenceId("string")
.build());
attestation_at_subscription_resource = azure_native.policyinsights.AttestationAtSubscription("attestationAtSubscriptionResource",
policy_assignment_id=string,
attestation_name=string,
comments=string,
compliance_state=string,
evidence=[{
description: string,
sourceUri: string,
}],
expires_on=string,
owner=string,
policy_definition_reference_id=string)
const attestationAtSubscriptionResource = new azure_native.policyinsights.AttestationAtSubscription("attestationAtSubscriptionResource", {
policyAssignmentId: "string",
attestationName: "string",
comments: "string",
complianceState: "string",
evidence: [{
description: "string",
sourceUri: "string",
}],
expiresOn: "string",
owner: "string",
policyDefinitionReferenceId: "string",
});
type: azure-native:policyinsights:AttestationAtSubscription
properties:
attestationName: string
comments: string
complianceState: string
evidence:
- description: string
sourceUri: string
expiresOn: string
owner: string
policyAssignmentId: string
policyDefinitionReferenceId: string
AttestationAtSubscription Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AttestationAtSubscription resource accepts the following input properties:
- Policy
Assignment stringId - The resource ID of the policy assignment that the attestation is setting the state for.
- Attestation
Name string - The name of the attestation.
- Comments string
- Comments describing why this attestation was created.
- Compliance
State string | Pulumi.Azure Native. Policy Insights. Compliance State - The compliance state that should be set on the resource.
- Evidence
List<Pulumi.
Azure Native. Policy Insights. Inputs. Attestation Evidence> - The evidence supporting the compliance state set in this attestation.
- Expires
On string - 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.
- Policy
Definition stringReference Id - 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.
- Policy
Assignment stringId - The resource ID of the policy assignment that the attestation is setting the state for.
- Attestation
Name string - The name of the attestation.
- Comments string
- Comments describing why this attestation was created.
- Compliance
State string | ComplianceState - The compliance state that should be set on the resource.
- Evidence
[]Attestation
Evidence Args - The evidence supporting the compliance state set in this attestation.
- Expires
On string - 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.
- Policy
Definition stringReference Id - 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.
- policy
Assignment StringId - The resource ID of the policy assignment that the attestation is setting the state for.
- attestation
Name String - The name of the attestation.
- comments String
- Comments describing why this attestation was created.
- compliance
State String | ComplianceState - The compliance state that should be set on the resource.
- evidence
List<Attestation
Evidence> - The evidence supporting the compliance state set in this attestation.
- expires
On String - 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.
- policy
Definition StringReference Id - 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.
- policy
Assignment stringId - The resource ID of the policy assignment that the attestation is setting the state for.
- attestation
Name string - The name of the attestation.
- comments string
- Comments describing why this attestation was created.
- compliance
State string | ComplianceState - The compliance state that should be set on the resource.
- evidence
Attestation
Evidence[] - The evidence supporting the compliance state set in this attestation.
- expires
On string - 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.
- policy
Definition stringReference Id - 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.
- policy_
assignment_ strid - The resource ID of the policy assignment that the attestation is setting the state for.
- attestation_
name str - The name of the attestation.
- comments str
- Comments describing why this attestation was created.
- compliance_
state str | ComplianceState - The compliance state that should be set on the resource.
- evidence
Sequence[Attestation
Evidence Args] - The evidence supporting the compliance state set in this attestation.
- expires_
on str - The time the compliance state should expire.
- owner str
- The person responsible for setting the state of the resource. This value is typically an Azure Active Directory object ID.
- policy_
definition_ strreference_ id - 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.
- policy
Assignment StringId - The resource ID of the policy assignment that the attestation is setting the state for.
- attestation
Name String - The name of the attestation.
- comments String
- Comments describing why this attestation was created.
- compliance
State String | "Compliant" | "NonCompliant" | "Unknown" - The compliance state that should be set on the resource.
- evidence List<Property Map>
- The evidence supporting the compliance state set in this attestation.
- expires
On String - 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.
- policy
Definition StringReference Id - 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the AttestationAtSubscription resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Compliance stringState Change At - The time the compliance state was last changed in this attestation.
- Name string
- The name of the resource
- Provisioning
State string - The status of the attestation.
- System
Data Pulumi.Azure Native. Policy Insights. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Compliance stringState Change At - The time the compliance state was last changed in this attestation.
- Name string
- The name of the resource
- Provisioning
State string - The status of the attestation.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- last
Compliance StringState Change At - The time the compliance state was last changed in this attestation.
- name String
- The name of the resource
- provisioning
State String - The status of the attestation.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- last
Compliance stringState Change At - The time the compliance state was last changed in this attestation.
- name string
- The name of the resource
- provisioning
State string - The status of the attestation.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- last_
compliance_ strstate_ change_ at - The time the compliance state was last changed in this attestation.
- name str
- The name of the resource
- provisioning_
state str - The status of the attestation.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- last
Compliance StringState Change At - The time the compliance state was last changed in this attestation.
- name String
- The name of the resource
- provisioning
State String - The status of the attestation.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AttestationEvidence, AttestationEvidenceArgs
- Description string
- The description for this piece of evidence.
- Source
Uri string - The URI location of the evidence.
- Description string
- The description for this piece of evidence.
- Source
Uri string - The URI location of the evidence.
- description String
- The description for this piece of evidence.
- source
Uri String - The URI location of the evidence.
- description string
- The description for this piece of evidence.
- source
Uri string - The URI location of the evidence.
- description str
- The description for this piece of evidence.
- source_
uri str - The URI location of the evidence.
- description String
- The description for this piece of evidence.
- source
Uri String - The URI location of the evidence.
AttestationEvidenceResponse, AttestationEvidenceResponseArgs
- Description string
- The description for this piece of evidence.
- Source
Uri string - The URI location of the evidence.
- Description string
- The description for this piece of evidence.
- Source
Uri string - The URI location of the evidence.
- description String
- The description for this piece of evidence.
- source
Uri String - The URI location of the evidence.
- description string
- The description for this piece of evidence.
- source
Uri string - The URI location of the evidence.
- description str
- The description for this piece of evidence.
- source_
uri str - The URI location of the evidence.
- description String
- The description for this piece of evidence.
- source
Uri String - The URI location of the evidence.
ComplianceState, ComplianceStateArgs
- Compliant
- CompliantThe resource is in compliance with the policy.
- Non
Compliant - NonCompliantThe resource is not in compliance with the policy.
- Unknown
- UnknownThe compliance state of the resource is not known.
- Compliance
State Compliant - CompliantThe resource is in compliance with the policy.
- Compliance
State Non Compliant - NonCompliantThe resource is not in compliance with the policy.
- Compliance
State Unknown - UnknownThe compliance state of the resource is not known.
- Compliant
- CompliantThe resource is in compliance with the policy.
- Non
Compliant - NonCompliantThe resource is not in compliance with the policy.
- Unknown
- UnknownThe compliance state of the resource is not known.
- Compliant
- CompliantThe resource is in compliance with the policy.
- Non
Compliant - NonCompliantThe resource is not in compliance with the policy.
- Unknown
- UnknownThe compliance state of the resource is not known.
- COMPLIANT
- CompliantThe resource is in compliance with the policy.
- NON_COMPLIANT
- NonCompliantThe resource is not in compliance with the policy.
- UNKNOWN
- UnknownThe compliance state of the resource is not known.
- "Compliant"
- CompliantThe resource is in compliance with the policy.
- "Non
Compliant" - NonCompliantThe resource is not in compliance with the policy.
- "Unknown"
- UnknownThe compliance state of the resource is not known.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:policyinsights:AttestationAtSubscription 790996e6-9871-4b1f-9cd9-ec42cd6ced1e /subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.policyinsights/attestations/790996e6-9871-4b1f-9cd9-ec42cd6ced1e
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0