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.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.47.1 published on Monday, Jun 24, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:videoanalyzer:getAccessPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Access
Policy stringName - The Access Policy name.
- Account
Name string - The Azure Video Analyzer account name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Access
Policy stringName - The Access Policy name.
- Account
Name string - The Azure Video Analyzer account name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- access
Policy StringName - The Access Policy name.
- account
Name String - The Azure Video Analyzer account name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- access
Policy stringName - The Access Policy name.
- account
Name string - The Azure Video Analyzer account name.
- resource
Group 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.
- access
Policy StringName - The Access Policy name.
- account
Name String - The Azure Video Analyzer account name.
- resource
Group 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
- System
Data 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
- 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"
- Authentication
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
- 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"
- authentication
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
- 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"
- authentication
Jwt
Authentication 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
Jwt
Authentication 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
- 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"
- 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
[]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 []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<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<Either<Ecc
Token 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
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 string[]
- List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
- keys
(Ecc
Token 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[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 Sequence[str]
- List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
- keys
Sequence[Union[Ecc
Token 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
- 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.
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.47.1 published on Monday, Jun 24, 2024 by Pulumi