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

[AMS] update media services to use 2021-05-01 for account service. #20680

Merged
merged 4 commits into from
Jun 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 4 additions & 3 deletions eng/mgmt/mgmtmetadata/mediaservices_resource-manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ AutoRest installed successfully.
Commencing code generation
Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/mediaservices/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --opt-in-extensible-enums --tag=package-2020-05 --csharp-sdks-folder=D:\GitHub\giakasRepros\azure-sdk-for-net\sdk
2021-02-19 18:16:31 UTC
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/mediaservices/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --opt-in-extensible-enums --tag=package-2021-05 --csharp-sdks-folder=D:\GitHub\giakasRepros\azure-sdk-for-net\sdk
Autorest CSharp Version: 2.3.82
2021-06-08 21:23:09 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: 9b54876963319fc1fd4e575ccff3ab95458d2625
Commit: e134a5f2e59827fc73b21c12e397dead18548877
AutoRest information
Requested version: v2
Bootstrapper version: autorest@1.9.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file-->
<PropertyGroup>
<AzureApiTag>Media_2020-05-01;</AzureApiTag>
<AzureApiTag>Media_2021-05-01;</AzureApiTag>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Microsoft.Azure.Management.Media release notes

## Changes in 3.0.5

- Added KeyDelivery Access control property to Media Services that allows restricting KeyDelivery requests by IP address ranges

## Changes in 3.0.4

This SDK is using 2020-05-01 version of the API.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Microsoft.Azure.Management.Media.Models
{
/// <summary>
/// A Media Services account.
/// </summary>
public partial class MediaService : TrackedResource
{
/// <summary>
/// Initializes a new instance of the MediaService class.
/// </summary>
/// <param name="location">The geo-location where the resource
/// lives</param>
/// <param name="id">Fully qualified resource ID for the resource. Ex -
/// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
/// <param name="name">The name of the resource</param>
/// <param name="type">The type of the resource. E.g.
/// "Microsoft.Compute/virtualMachines" or
/// "Microsoft.Storage/storageAccounts"</param>
/// <param name="tags">Resource tags.</param>
/// <param name="mediaServiceId">The Media Services account ID.</param>
/// <param name="storageAccounts">The storage accounts for this
/// resource.</param>
/// <param name="storageAuthentication">Possible values include:
/// 'System', 'ManagedIdentity'</param>
/// <param name="encryption">The account encryption properties.</param>
/// <param name="identity">The Managed Identity for the Media Services
/// account.</param>
/// <param name="systemData">The system metadata relating to this
/// resource.</param>
/// <param name="keyDelivery">The Key Delivery properties for Media Services account.</param>
public MediaService(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), System.Guid mediaServiceId = default(System.Guid), IList<StorageAccount> storageAccounts = default(IList<StorageAccount>), StorageAuthentication? storageAuthentication = default(StorageAuthentication?), AccountEncryption encryption = default(AccountEncryption), MediaServiceIdentity identity = default(MediaServiceIdentity), SystemData systemData = default(SystemData), KeyDelivery keyDelivery = default(KeyDelivery))
: base(location, id, name, type, tags)
{
MediaServiceId = mediaServiceId;
StorageAccounts = storageAccounts;
StorageAuthentication = storageAuthentication;
Encryption = encryption;
KeyDelivery = keyDelivery;
Identity = identity;
SystemData = systemData;
CustomInit();
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading