Skip to content

Commit

Permalink
new resource: azurerm_media_asset_filter (hashicorp#11110)
Browse files Browse the repository at this point in the history
Hi
This PR resolves hashicorp#11054

Checked:

Update Documentation
Add new Acceptance Test and verified that the tests pass successfully
Check linting
  • Loading branch information
jcanizalez authored and alvintang committed Apr 29, 2021
1 parent 3eea067 commit 09f7764
Show file tree
Hide file tree
Showing 10 changed files with 1,168 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 @@ -16,6 +16,7 @@ type Client struct {
StreamingPoliciesClient *media.StreamingPoliciesClient
LiveEventsClient *media.LiveEventsClient
LiveOutputsClient *media.LiveOutputsClient
AssetFiltersClient *media.AssetFiltersClient
}

func NewClient(o *common.ClientOptions) *Client {
Expand Down Expand Up @@ -49,6 +50,9 @@ func NewClient(o *common.ClientOptions) *Client {
LiveOutputsClient := media.NewLiveOutputsClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&LiveOutputsClient.Client, o.ResourceManagerAuthorizer)

AssetFiltersClient := media.NewAssetFiltersClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&AssetFiltersClient.Client, o.ResourceManagerAuthorizer)

return &Client{
ServicesClient: &ServicesClient,
AssetsClient: &AssetsClient,
Expand All @@ -60,5 +64,6 @@ func NewClient(o *common.ClientOptions) *Client {
StreamingPoliciesClient: &StreamingPoliciesClient,
LiveEventsClient: &LiveEventsClient,
LiveOutputsClient: &LiveOutputsClient,
AssetFiltersClient: &AssetFiltersClient,
}
}
Loading

0 comments on commit 09f7764

Please sign in to comment.