Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New resource: azurerm_media_transform #9663

Merged
merged 20 commits into from
Dec 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
565e9a3
include transform support
jcanizalez Dec 1, 2020
1e2913a
updating api version
jcanizalez Dec 1, 2020
92d98c1
include support for differents presets
jcanizalez Dec 2, 2020
c468474
include some validations
jcanizalez Dec 2, 2020
73aa05f
Merge branch 'master' of https://github.com/terraform-providers/terra…
jcanizalez Dec 2, 2020
0889ca2
revert deleted file
jcanizalez Dec 2, 2020
0586e44
updating documentation
jcanizalez Dec 2, 2020
c868783
Merge branch 'master' of https://github.com/terraform-providers/terra…
jcanizalez Dec 3, 2020
1560f1b
including acceptance tests
jcanizalez Dec 3, 2020
8ae3e2f
remove unnecessary line
jcanizalez Dec 3, 2020
026d50e
Merge branch 'master' of https://github.com/terraform-providers/terra…
jcanizalez Dec 3, 2020
55891fe
Merge branch 'master' of https://github.com/terraform-providers/terra…
jcanizalez Dec 8, 2020
5813b90
Apply suggestions from code review
jcanizalez Dec 8, 2020
e516cef
Apply suggestions from code review
jcanizalez Dec 8, 2020
26dedab
Merge branch 'master' of https://github.com/terraform-providers/terra…
jcanizalez Dec 8, 2020
e799ed1
Move test file to main directory
jcanizalez Dec 8, 2020
8522e82
Apply suggestions from code review
jcanizalez Dec 9, 2020
b61395d
Updating Types
jcanizalez Dec 9, 2020
6da0901
Merge branch 'master' of https://github.com/terraform-providers/terra…
jcanizalez Dec 9, 2020
ed4782c
Merge branch 'azurerm_media_transform' of https://github.com/jcanizal…
jcanizalez Dec 9, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions azurerm/internal/services/media/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ import (
)

type Client struct {
ServicesClient *media.MediaservicesClient
AssetsClient *media.AssetsClient
ServicesClient *media.MediaservicesClient
AssetsClient *media.AssetsClient
TransformsClient *media.TransformsClient
}

func NewClient(o *common.ClientOptions) *Client {
Expand All @@ -17,8 +18,12 @@ func NewClient(o *common.ClientOptions) *Client {
AssetsClient := media.NewAssetsClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&AssetsClient.Client, o.ResourceManagerAuthorizer)

TransformsClient := media.NewTransformsClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&TransformsClient.Client, o.ResourceManagerAuthorizer)

return &Client{
ServicesClient: &ServicesClient,
AssetsClient: &AssetsClient,
ServicesClient: &ServicesClient,
AssetsClient: &AssetsClient,
TransformsClient: &TransformsClient,
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func resourceMediaServicesAccountCreateUpdate(d *schema.ResourceData, meta inter
parameters.Identity = expandAzureRmMediaServiceIdentity(d)
}

if v, ok := d.GetOk("storage_authentication"); ok {
if v, ok := d.GetOk("storage_authentication_type"); ok {
parameters.StorageAuthentication = media.StorageAuthentication(v.(string))
}

Expand Down
Loading