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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.videoanalyzer.getAccessPolicy
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Retrieves an existing access policy resource with the given name. Azure REST API version: 2021-11-01-preview.
Using getAccessPolicy
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 getAccessPolicy(args: GetAccessPolicyArgs, opts?: InvokeOptions): Promise<GetAccessPolicyResult>
function getAccessPolicyOutput(args: GetAccessPolicyOutputArgs, opts?: InvokeOptions): Output<GetAccessPolicyResult>def get_access_policy(access_policy_name: Optional[str] = None,
                      account_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetAccessPolicyResult
def get_access_policy_output(access_policy_name: Optional[pulumi.Input[str]] = None,
                      account_name: Optional[pulumi.Input[str]] = None,
                      resource_group_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetAccessPolicyResult]func LookupAccessPolicy(ctx *Context, args *LookupAccessPolicyArgs, opts ...InvokeOption) (*LookupAccessPolicyResult, error)
func LookupAccessPolicyOutput(ctx *Context, args *LookupAccessPolicyOutputArgs, opts ...InvokeOption) LookupAccessPolicyResultOutput> Note: This function is named LookupAccessPolicy in the Go SDK.
public static class GetAccessPolicy 
{
    public static Task<GetAccessPolicyResult> InvokeAsync(GetAccessPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetAccessPolicyResult> Invoke(GetAccessPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAccessPolicyResult> getAccessPolicy(GetAccessPolicyArgs args, InvokeOptions options)
public static Output<GetAccessPolicyResult> getAccessPolicy(GetAccessPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:videoanalyzer:getAccessPolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AccessPolicy stringName 
- The Access Policy name.
- AccountName string
- The Azure Video Analyzer account name.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- AccessPolicy stringName 
- The Access Policy name.
- AccountName string
- The Azure Video Analyzer account name.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- accessPolicy StringName 
- The Access Policy name.
- accountName String
- The Azure Video Analyzer account name.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- accessPolicy stringName 
- The Access Policy name.
- accountName string
- The Azure Video Analyzer account name.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- access_policy_ strname 
- The Access Policy name.
- account_name str
- The Azure Video Analyzer account name.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- accessPolicy StringName 
- The Access Policy name.
- accountName String
- The Azure Video Analyzer account name.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getAccessPolicy 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}
- Name string
- The name of the resource
- SystemData Pulumi.Azure Native. Video Analyzer. 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"
- Authentication
Pulumi.Azure Native. Video Analyzer. Outputs. Jwt Authentication Response 
- Authentication method to be used when validating client API access.
- Role string
- Defines the access level granted by this policy.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- 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"
- Authentication
JwtAuthentication Response 
- Authentication method to be used when validating client API access.
- Role string
- Defines the access level granted by this policy.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- 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"
- authentication
JwtAuthentication Response 
- Authentication method to be used when validating client API access.
- role String
- Defines the access level granted by this policy.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name string
- The name of the resource
- 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"
- authentication
JwtAuthentication Response 
- Authentication method to be used when validating client API access.
- role string
- Defines the access level granted by this policy.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
- The name of the resource
- 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"
- authentication
JwtAuthentication Response 
- Authentication method to be used when validating client API access.
- role str
- Defines the access level granted by this policy.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- 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"
- authentication Property Map
- Authentication method to be used when validating client API access.
- role String
- Defines the access level granted by this policy.
Supporting Types
EccTokenKeyResponse   
JwtAuthenticationResponse  
- Audiences List<string>
- List of expected token audiences. Token audience is valid if it matches at least one of the given values.
- Claims
List<Pulumi.Azure Native. Video Analyzer. Inputs. Token Claim Response> 
- List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
- Issuers List<string>
- List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
- Keys
List<Union<Pulumi.Azure Native. Video Analyzer. Inputs. Ecc Token Key Response, Pulumi. Azure Native. Video Analyzer. Inputs. Rsa Token Key Response>> 
- List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
- Audiences []string
- List of expected token audiences. Token audience is valid if it matches at least one of the given values.
- Claims
[]TokenClaim Response 
- List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
- Issuers []string
- List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
- Keys []interface{}
- List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
- audiences List<String>
- List of expected token audiences. Token audience is valid if it matches at least one of the given values.
- claims
List<TokenClaim Response> 
- List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
- issuers List<String>
- List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
- keys
List<Either<EccToken Key Response,Rsa Token Key Response>> 
- List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
- audiences string[]
- List of expected token audiences. Token audience is valid if it matches at least one of the given values.
- claims
TokenClaim Response[] 
- List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
- issuers string[]
- List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
- keys
(EccToken Key Response | Rsa Token Key Response)[] 
- List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
- audiences Sequence[str]
- List of expected token audiences. Token audience is valid if it matches at least one of the given values.
- claims
Sequence[TokenClaim Response] 
- List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
- issuers Sequence[str]
- List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
- keys
Sequence[Union[EccToken Key Response, Rsa Token Key Response]] 
- List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
- audiences List<String>
- List of expected token audiences. Token audience is valid if it matches at least one of the given values.
- claims List<Property Map>
- List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
- issuers List<String>
- List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
- keys List<Property Map | Property Map>
- List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
RsaTokenKeyResponse   
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.
TokenClaimResponse  
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi