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.media.listMediaServiceKeys
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
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)
public static Output<ListMediaServiceKeysResult> listMediaServiceKeys(ListMediaServiceKeysArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:media:listMediaServiceKeys
  arguments:
    # arguments dictionaryThe following arguments are supported:
- MediaService stringName 
- Name of the Media Service.
- ResourceGroup stringName 
- Name of the resource group within the Azure subscription.
- MediaService stringName 
- Name of the Media Service.
- ResourceGroup stringName 
- Name of the resource group within the Azure subscription.
- mediaService StringName 
- Name of the Media Service.
- resourceGroup StringName 
- Name of the resource group within the Azure subscription.
- mediaService stringName 
- Name of the Media Service.
- resourceGroup stringName 
- Name of the resource group within the Azure subscription.
- media_service_ strname 
- Name of the Media Service.
- resource_group_ strname 
- Name of the resource group within the Azure subscription.
- mediaService StringName 
- Name of the Media Service.
- resourceGroup StringName 
- Name of the resource group within the Azure subscription.
listMediaServiceKeys Result
The following output properties are available:
- PrimaryAuth stringEndpoint 
- The primary authorization endpoint.
- PrimaryKey string
- The primary key for the Media Service resource.
- Scope string
- The authorization scope.
- SecondaryAuth stringEndpoint 
- The secondary authorization endpoint.
- SecondaryKey string
- The secondary key for the Media Service resource.
- PrimaryAuth stringEndpoint 
- The primary authorization endpoint.
- PrimaryKey string
- The primary key for the Media Service resource.
- Scope string
- The authorization scope.
- SecondaryAuth stringEndpoint 
- The secondary authorization endpoint.
- SecondaryKey string
- The secondary key for the Media Service resource.
- primaryAuth StringEndpoint 
- The primary authorization endpoint.
- primaryKey String
- The primary key for the Media Service resource.
- scope String
- The authorization scope.
- secondaryAuth StringEndpoint 
- The secondary authorization endpoint.
- secondaryKey String
- The secondary key for the Media Service resource.
- primaryAuth stringEndpoint 
- The primary authorization endpoint.
- primaryKey string
- The primary key for the Media Service resource.
- scope string
- The authorization scope.
- secondaryAuth stringEndpoint 
- The secondary authorization endpoint.
- secondaryKey string
- The secondary key for the Media Service resource.
- primary_auth_ strendpoint 
- The primary authorization endpoint.
- primary_key str
- The primary key for the Media Service resource.
- scope str
- The authorization scope.
- secondary_auth_ strendpoint 
- The secondary authorization endpoint.
- secondary_key str
- The secondary key for the Media Service resource.
- primaryAuth StringEndpoint 
- The primary authorization endpoint.
- primaryKey String
- The primary key for the Media Service resource.
- scope String
- The authorization scope.
- secondaryAuth StringEndpoint 
- 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
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