Skip to content

Commit

Permalink
New resource: azurerm_media_streaming_locator (#9992)
Browse files Browse the repository at this point in the history
Co-authored-by: kt <[email protected]>

Hi there introducing the support for new resource azurerm_media_streaming_locator. This PR resolves #9972
  • Loading branch information
jcanizalez authored Dec 27, 2020
1 parent 2d8db76 commit 2baa96a
Show file tree
Hide file tree
Showing 10 changed files with 1,026 additions and 0 deletions.
5 changes: 5 additions & 0 deletions azurerm/internal/services/media/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ type Client struct {
TransformsClient *media.TransformsClient
StreamingEndpointsClient *media.StreamingEndpointsClient
JobsClient *media.JobsClient
StreamingLocatorsClient *media.StreamingLocatorsClient
}

func NewClient(o *common.ClientOptions) *Client {
Expand All @@ -29,11 +30,15 @@ func NewClient(o *common.ClientOptions) *Client {
JobsClient := media.NewJobsClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&JobsClient.Client, o.ResourceManagerAuthorizer)

StreamingLocatorsClient := media.NewStreamingLocatorsClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&StreamingLocatorsClient.Client, o.ResourceManagerAuthorizer)

return &Client{
ServicesClient: &ServicesClient,
AssetsClient: &AssetsClient,
TransformsClient: &TransformsClient,
StreamingEndpointsClient: &StreamingEndpointsClient,
JobsClient: &JobsClient,
StreamingLocatorsClient: &StreamingLocatorsClient,
}
}
Loading

0 comments on commit 2baa96a

Please sign in to comment.