This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.policyinsights.getAttestationAtSubscription
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
Gets an existing attestation at subscription scope. Azure REST API version: 2022-09-01.
Using getAttestationAtSubscription
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 getAttestationAtSubscription(args: GetAttestationAtSubscriptionArgs, opts?: InvokeOptions): Promise<GetAttestationAtSubscriptionResult>
function getAttestationAtSubscriptionOutput(args: GetAttestationAtSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetAttestationAtSubscriptionResult>
def get_attestation_at_subscription(attestation_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAttestationAtSubscriptionResult
def get_attestation_at_subscription_output(attestation_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAttestationAtSubscriptionResult]
func LookupAttestationAtSubscription(ctx *Context, args *LookupAttestationAtSubscriptionArgs, opts ...InvokeOption) (*LookupAttestationAtSubscriptionResult, error)
func LookupAttestationAtSubscriptionOutput(ctx *Context, args *LookupAttestationAtSubscriptionOutputArgs, opts ...InvokeOption) LookupAttestationAtSubscriptionResultOutput
> Note: This function is named LookupAttestationAtSubscription
in the Go SDK.
public static class GetAttestationAtSubscription
{
public static Task<GetAttestationAtSubscriptionResult> InvokeAsync(GetAttestationAtSubscriptionArgs args, InvokeOptions? opts = null)
public static Output<GetAttestationAtSubscriptionResult> Invoke(GetAttestationAtSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAttestationAtSubscriptionResult> getAttestationAtSubscription(GetAttestationAtSubscriptionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:policyinsights:getAttestationAtSubscription
arguments:
# arguments dictionary
The following arguments are supported:
- Attestation
Name string - The name of the attestation.
- Attestation
Name string - The name of the attestation.
- attestation
Name String - The name of the attestation.
- attestation
Name string - The name of the attestation.
- attestation_
name str - The name of the attestation.
- attestation
Name String - The name of the attestation.
getAttestationAtSubscription 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}
- Last
Compliance stringState Change At - The time the compliance state was last changed in this attestation.
- Name string
- The name of the resource
- Policy
Assignment stringId - The resource ID of the policy assignment that the attestation is setting the state for.
- 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"
- Assessment
Date string - The time the evidence was assessed
- Comments string
- Comments describing why this attestation was created.
- Compliance
State 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.
- Expires
On string - The time the compliance state should expire.
- Metadata object
- Additional metadata for this attestation
- 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.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Last
Compliance stringState Change At - The time the compliance state was last changed in this attestation.
- Name string
- The name of the resource
- Policy
Assignment stringId - The resource ID of the policy assignment that the attestation is setting the state for.
- 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"
- Assessment
Date string - The time the evidence was assessed
- Comments string
- Comments describing why this attestation was created.
- Compliance
State string - The compliance state that should be set on the resource.
- Evidence
[]Attestation
Evidence Response - The evidence supporting the compliance state set in this attestation.
- Expires
On string - The time the compliance state should expire.
- Metadata interface{}
- Additional metadata for this attestation
- 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.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Compliance StringState Change At - The time the compliance state was last changed in this attestation.
- name String
- The name of the resource
- policy
Assignment StringId - The resource ID of the policy assignment that the attestation is setting the state for.
- 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"
- assessment
Date String - The time the evidence was assessed
- comments String
- Comments describing why this attestation was created.
- compliance
State String - The compliance state that should be set on the resource.
- evidence
List<Attestation
Evidence Response> - The evidence supporting the compliance state set in this attestation.
- expires
On String - The time the compliance state should expire.
- metadata Object
- Additional metadata for this attestation
- 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.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Compliance stringState Change At - The time the compliance state was last changed in this attestation.
- name string
- The name of the resource
- policy
Assignment stringId - The resource ID of the policy assignment that the attestation is setting the state for.
- 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"
- assessment
Date string - The time the evidence was assessed
- comments string
- Comments describing why this attestation was created.
- compliance
State string - The compliance state that should be set on the resource.
- evidence
Attestation
Evidence Response[] - The evidence supporting the compliance state set in this attestation.
- expires
On string - The time the compliance state should expire.
- metadata any
- Additional metadata for this attestation
- 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.
- 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"
- assessment_
date str - The time the evidence was assessed
- comments str
- Comments describing why this attestation was created.
- compliance_
state str - The compliance state that should be set on the resource.
- evidence
Sequence[Attestation
Evidence Response] - The evidence supporting the compliance state set in this attestation.
- expires_
on str - The time the compliance state should expire.
- metadata Any
- Additional metadata for this attestation
- 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}
- last
Compliance StringState Change At - The time the compliance state was last changed in this attestation.
- name String
- The name of the resource
- policy
Assignment StringId - The resource ID of the policy assignment that the attestation is setting the state for.
- 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"
- assessment
Date String - The time the evidence was assessed
- comments String
- Comments describing why this attestation was created.
- compliance
State 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.
- expires
On String - The time the compliance state should expire.
- metadata Any
- Additional metadata for this attestation
- 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.
Supporting Types
AttestationEvidenceResponse
- 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.
SystemDataResponse
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi