Azure Native v1.102.0, May 2 23
Azure Native v1.102.0, May 2 23
azure-native.policyinsights.getAttestationAtResource
Explore with Pulumi AI
Gets an existing attestation at resource scope. API Version: 2021-01-01.
Using getAttestationAtResource
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 getAttestationAtResource(args: GetAttestationAtResourceArgs, opts?: InvokeOptions): Promise<GetAttestationAtResourceResult>
function getAttestationAtResourceOutput(args: GetAttestationAtResourceOutputArgs, opts?: InvokeOptions): Output<GetAttestationAtResourceResult>
def get_attestation_at_resource(attestation_name: Optional[str] = None,
resource_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAttestationAtResourceResult
def get_attestation_at_resource_output(attestation_name: Optional[pulumi.Input[str]] = None,
resource_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAttestationAtResourceResult]
func LookupAttestationAtResource(ctx *Context, args *LookupAttestationAtResourceArgs, opts ...InvokeOption) (*LookupAttestationAtResourceResult, error)
func LookupAttestationAtResourceOutput(ctx *Context, args *LookupAttestationAtResourceOutputArgs, opts ...InvokeOption) LookupAttestationAtResourceResultOutput
> Note: This function is named LookupAttestationAtResource
in the Go SDK.
public static class GetAttestationAtResource
{
public static Task<GetAttestationAtResourceResult> InvokeAsync(GetAttestationAtResourceArgs args, InvokeOptions? opts = null)
public static Output<GetAttestationAtResourceResult> Invoke(GetAttestationAtResourceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAttestationAtResourceResult> getAttestationAtResource(GetAttestationAtResourceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:policyinsights:getAttestationAtResource
arguments:
# arguments dictionary
The following arguments are supported:
- Attestation
Name string The name of the attestation.
- Resource
Id string Resource ID.
- Attestation
Name string The name of the attestation.
- Resource
Id string Resource ID.
- attestation
Name String The name of the attestation.
- resource
Id String Resource ID.
- attestation
Name string The name of the attestation.
- resource
Id string Resource ID.
- attestation_
name str The name of the attestation.
- resource_
id str Resource ID.
- attestation
Name String The name of the attestation.
- resource
Id String Resource ID.
getAttestationAtResource 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"
- 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.
- 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"
- 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.
- 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"
- 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.
- 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"
- 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.
- 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"
- 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.
- 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"
- 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.
- 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