...

Package mediaapi

import "github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2015-10-01/media/mediaapi"
Overview
Index

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/mediaservices/armmediaservices(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/mediaservices/armmediaservices). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

type OperationsClientAPI

OperationsClientAPI contains the set of methods on the OperationsClient type.

type OperationsClientAPI interface {
    List(ctx context.Context) (result media.OperationListResult, err error)
}

type ServiceClientAPI

ServiceClientAPI contains the set of methods on the ServiceClient type.

type ServiceClientAPI interface {
    CheckNameAvailability(ctx context.Context, parameters media.CheckNameAvailabilityInput) (result media.CheckNameAvailabilityOutput, err error)
    Create(ctx context.Context, resourceGroupName string, mediaServiceName string, parameters media.Service) (result media.Service, err error)
    Delete(ctx context.Context, resourceGroupName string, mediaServiceName string) (result autorest.Response, err error)
    Get(ctx context.Context, resourceGroupName string, mediaServiceName string) (result media.Service, err error)
    ListByResourceGroup(ctx context.Context, resourceGroupName string) (result media.ServiceCollection, err error)
    ListKeys(ctx context.Context, resourceGroupName string, mediaServiceName string) (result media.ServiceKeys, err error)
    RegenerateKey(ctx context.Context, resourceGroupName string, mediaServiceName string, parameters media.RegenerateKeyInput) (result media.RegenerateKeyOutput, err error)
    SyncStorageKeys(ctx context.Context, resourceGroupName string, mediaServiceName string, parameters media.SyncStorageKeysInput) (result autorest.Response, err error)
    Update(ctx context.Context, resourceGroupName string, mediaServiceName string, parameters media.Service) (result media.Service, err error)
}