Skip to content

Commit

Permalink
New resource: azurerm_media_job (#9859)
Browse files Browse the repository at this point in the history
Co-authored-by: jackofallops <[email protected]>
  • Loading branch information
jcanizalez and jackofallops authored Dec 17, 2020
1 parent 701605e commit ee189f0
Show file tree
Hide file tree
Showing 11 changed files with 1,139 additions and 2 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 @@ -10,6 +10,7 @@ type Client struct {
AssetsClient *media.AssetsClient
TransformsClient *media.TransformsClient
StreamingEndpointsClient *media.StreamingEndpointsClient
JobsClient *media.JobsClient
}

func NewClient(o *common.ClientOptions) *Client {
Expand All @@ -25,10 +26,14 @@ func NewClient(o *common.ClientOptions) *Client {
StreamingEndpointsClient := media.NewStreamingEndpointsClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&StreamingEndpointsClient.Client, o.ResourceManagerAuthorizer)

JobsClient := media.NewJobsClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&JobsClient.Client, o.ResourceManagerAuthorizer)

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

0 comments on commit ee189f0

Please sign in to comment.