1. Packages
  2. Azure Native
  3. API Docs
  4. media
  5. listMediaServiceKeys
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.media.listMediaServiceKeys

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Lists the keys for a Media Service.

Uses 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>
Copy
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]
Copy
func ListMediaServiceKeys(ctx *Context, args *ListMediaServiceKeysArgs, opts ...InvokeOption) (*ListMediaServiceKeysResult, error)
func ListMediaServiceKeysOutput(ctx *Context, args *ListMediaServiceKeysOutputArgs, opts ...InvokeOption) ListMediaServiceKeysResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<ListMediaServiceKeysResult> listMediaServiceKeys(ListMediaServiceKeysArgs args, InvokeOptions options)
public static Output<ListMediaServiceKeysResult> listMediaServiceKeys(ListMediaServiceKeysArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:media:listMediaServiceKeys
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

MediaServiceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Media Service.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group within the Azure subscription.
MediaServiceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Media Service.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group within the Azure subscription.
mediaServiceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Media Service.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group within the Azure subscription.
mediaServiceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Media Service.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group within the Azure subscription.
media_service_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Media Service.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource group within the Azure subscription.
mediaServiceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Media Service.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi