These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.policyinsights.getAttestationAtResourceGroup
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets an existing attestation at resource group scope. API Version: 2021-01-01.
Using getAttestationAtResourceGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAttestationAtResourceGroup(args: GetAttestationAtResourceGroupArgs, opts?: InvokeOptions): Promise<GetAttestationAtResourceGroupResult>
function getAttestationAtResourceGroupOutput(args: GetAttestationAtResourceGroupOutputArgs, opts?: InvokeOptions): Output<GetAttestationAtResourceGroupResult>def get_attestation_at_resource_group(attestation_name: Optional[str] = None,
                                      resource_group_name: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetAttestationAtResourceGroupResult
def get_attestation_at_resource_group_output(attestation_name: Optional[pulumi.Input[str]] = None,
                                      resource_group_name: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetAttestationAtResourceGroupResult]func LookupAttestationAtResourceGroup(ctx *Context, args *LookupAttestationAtResourceGroupArgs, opts ...InvokeOption) (*LookupAttestationAtResourceGroupResult, error)
func LookupAttestationAtResourceGroupOutput(ctx *Context, args *LookupAttestationAtResourceGroupOutputArgs, opts ...InvokeOption) LookupAttestationAtResourceGroupResultOutput> Note: This function is named LookupAttestationAtResourceGroup in the Go SDK.
public static class GetAttestationAtResourceGroup 
{
    public static Task<GetAttestationAtResourceGroupResult> InvokeAsync(GetAttestationAtResourceGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetAttestationAtResourceGroupResult> Invoke(GetAttestationAtResourceGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAttestationAtResourceGroupResult> getAttestationAtResourceGroup(GetAttestationAtResourceGroupArgs args, InvokeOptions options)
public static Output<GetAttestationAtResourceGroupResult> getAttestationAtResourceGroup(GetAttestationAtResourceGroupArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:policyinsights:getAttestationAtResourceGroup
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AttestationName string
- The name of the attestation.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- AttestationName string
- The name of the attestation.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- attestationName String
- The name of the attestation.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- attestationName string
- The name of the attestation.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- attestation_name str
- The name of the attestation.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- attestationName String
- The name of the attestation.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getAttestationAtResourceGroup Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- LastCompliance stringState Change At 
- The time the compliance state was last changed in this attestation.
- Name string
- The name of the resource
- PolicyAssignment stringId 
- The resource ID of the policy assignment that the attestation is setting the state for.
- ProvisioningState string
- The status of the attestation.
- SystemData 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"
- Comments string
- Comments describing why this attestation was created.
- ComplianceState string
- The compliance state that should be set on the resource.
- Evidence
List<Pulumi.Azure Native. Policy Insights. Outputs. Attestation Evidence Response> 
- The evidence supporting the compliance state set in this attestation.
- ExpiresOn 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.
- PolicyDefinition 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.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- LastCompliance stringState Change At 
- The time the compliance state was last changed in this attestation.
- Name string
- The name of the resource
- PolicyAssignment stringId 
- The resource ID of the policy assignment that the attestation is setting the state for.
- ProvisioningState string
- The status of the attestation.
- SystemData 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"
- Comments string
- Comments describing why this attestation was created.
- ComplianceState string
- The compliance state that should be set on the resource.
- Evidence
[]AttestationEvidence Response 
- The evidence supporting the compliance state set in this attestation.
- ExpiresOn 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.
- PolicyDefinition 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.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- lastCompliance StringState Change At 
- The time the compliance state was last changed in this attestation.
- name String
- The name of the resource
- policyAssignment StringId 
- The resource ID of the policy assignment that the attestation is setting the state for.
- provisioningState String
- The status of the attestation.
- systemData 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"
- comments String
- Comments describing why this attestation was created.
- complianceState String
- The compliance state that should be set on the resource.
- evidence
List<AttestationEvidence Response> 
- The evidence supporting the compliance state set in this attestation.
- expiresOn 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.
- policyDefinition 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.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- lastCompliance stringState Change At 
- The time the compliance state was last changed in this attestation.
- name string
- The name of the resource
- policyAssignment stringId 
- The resource ID of the policy assignment that the attestation is setting the state for.
- provisioningState string
- The status of the attestation.
- systemData 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"
- comments string
- Comments describing why this attestation was created.
- complianceState string
- The compliance state that should be set on the resource.
- evidence
AttestationEvidence Response[] 
- The evidence supporting the compliance state set in this attestation.
- expiresOn 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.
- policyDefinition 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.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last_compliance_ strstate_ change_ at 
- The time the compliance state was last changed in this attestation.
- name str
- The name of the resource
- policy_assignment_ strid 
- The resource ID of the policy assignment that the attestation is setting the state for.
- 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"
- comments str
- Comments describing why this attestation was created.
- compliance_state str
- The compliance state that should be set on the resource.
- evidence
Sequence[AttestationEvidence Response] 
- 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.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- lastCompliance StringState Change At 
- The time the compliance state was last changed in this attestation.
- name String
- The name of the resource
- policyAssignment StringId 
- The resource ID of the policy assignment that the attestation is setting the state for.
- provisioningState String
- The status of the attestation.
- systemData 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"
- comments String
- Comments describing why this attestation was created.
- complianceState String
- The compliance state that should be set on the resource.
- evidence List<Property Map>
- The evidence supporting the compliance state set in this attestation.
- expiresOn 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.
- policyDefinition 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.
Supporting Types
AttestationEvidenceResponse  
- Description string
- The description for this piece of evidence.
- SourceUri string
- The URI location of the evidence.
- Description string
- The description for this piece of evidence.
- SourceUri string
- The URI location of the evidence.
- description String
- The description for this piece of evidence.
- sourceUri String
- The URI location of the evidence.
- description string
- The description for this piece of evidence.
- sourceUri 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.
- sourceUri String
- The URI location of the evidence.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi