1. Packages
  2. Azure Native
  3. API Docs
  4. media
  5. listMediaServiceKeys
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.media.listMediaServiceKeys

Explore with Pulumi AI

azure-native logo
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    Lists the keys for a Media Service. Azure REST API version: 2015-10-01.

    Using listMediaServiceKeys

    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 listMediaServiceKeys(args: ListMediaServiceKeysArgs, opts?: InvokeOptions): Promise<ListMediaServiceKeysResult>
    function listMediaServiceKeysOutput(args: ListMediaServiceKeysOutputArgs, opts?: InvokeOptions): Output<ListMediaServiceKeysResult>
    def list_media_service_keys(media_service_name: Optional[str] = None,
                                resource_group_name: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> ListMediaServiceKeysResult
    def list_media_service_keys_output(media_service_name: Optional[pulumi.Input[str]] = None,
                                resource_group_name: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[ListMediaServiceKeysResult]
    func ListMediaServiceKeys(ctx *Context, args *ListMediaServiceKeysArgs, opts ...InvokeOption) (*ListMediaServiceKeysResult, error)
    func ListMediaServiceKeysOutput(ctx *Context, args *ListMediaServiceKeysOutputArgs, opts ...InvokeOption) ListMediaServiceKeysResultOutput

    > Note: This function is named ListMediaServiceKeys in the Go SDK.

    public static class ListMediaServiceKeys 
    {
        public static Task<ListMediaServiceKeysResult> InvokeAsync(ListMediaServiceKeysArgs args, InvokeOptions? opts = null)
        public static Output<ListMediaServiceKeysResult> Invoke(ListMediaServiceKeysInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListMediaServiceKeysResult> listMediaServiceKeys(ListMediaServiceKeysArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:media:listMediaServiceKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MediaServiceName string
    Name of the Media Service.
    ResourceGroupName string
    Name of the resource group within the Azure subscription.
    MediaServiceName string
    Name of the Media Service.
    ResourceGroupName string
    Name of the resource group within the Azure subscription.
    mediaServiceName String
    Name of the Media Service.
    resourceGroupName String
    Name of the resource group within the Azure subscription.
    mediaServiceName string
    Name of the Media Service.
    resourceGroupName string
    Name of the resource group within the Azure subscription.
    media_service_name str
    Name of the Media Service.
    resource_group_name str
    Name of the resource group within the Azure subscription.
    mediaServiceName String
    Name of the Media Service.
    resourceGroupName String
    Name of the resource group within the Azure subscription.

    listMediaServiceKeys Result

    The following output properties are available:

    PrimaryAuthEndpoint string
    The primary authorization endpoint.
    PrimaryKey string
    The primary key for the Media Service resource.
    Scope string
    The authorization scope.
    SecondaryAuthEndpoint string
    The secondary authorization endpoint.
    SecondaryKey string
    The secondary key for the Media Service resource.
    PrimaryAuthEndpoint string
    The primary authorization endpoint.
    PrimaryKey string
    The primary key for the Media Service resource.
    Scope string
    The authorization scope.
    SecondaryAuthEndpoint string
    The secondary authorization endpoint.
    SecondaryKey string
    The secondary key for the Media Service resource.
    primaryAuthEndpoint String
    The primary authorization endpoint.
    primaryKey String
    The primary key for the Media Service resource.
    scope String
    The authorization scope.
    secondaryAuthEndpoint String
    The secondary authorization endpoint.
    secondaryKey String
    The secondary key for the Media Service resource.
    primaryAuthEndpoint string
    The primary authorization endpoint.
    primaryKey string
    The primary key for the Media Service resource.
    scope string
    The authorization scope.
    secondaryAuthEndpoint string
    The secondary authorization endpoint.
    secondaryKey string
    The secondary key for the Media Service resource.
    primary_auth_endpoint str
    The primary authorization endpoint.
    primary_key str
    The primary key for the Media Service resource.
    scope str
    The authorization scope.
    secondary_auth_endpoint str
    The secondary authorization endpoint.
    secondary_key str
    The secondary key for the Media Service resource.
    primaryAuthEndpoint String
    The primary authorization endpoint.
    primaryKey String
    The primary key for the Media Service resource.
    scope String
    The authorization scope.
    secondaryAuthEndpoint String
    The secondary authorization endpoint.
    secondaryKey String
    The secondary key for the Media Service resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi