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

Media services 2019 05 01 preview #8929

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
14 changes: 14 additions & 0 deletions eng/mgmt/mgmtmetadata/mediaservices_resource-manager.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Installing AutoRest version: latest
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=latest --reflect-api-versions --opt-in-extensible-enums --tag=package-2019-05-preview --csharp-sdks-folder=E:\GitHub\BrianBlum\azure-sdk-for-net\sdk
2019-12-11 21:28:56 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: a8353533efc393b1b72519ae10beb3c6a42a9a79
AutoRest information
Requested version: latest
Bootstrapper version: [email protected]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project ToolsVersion="15.0" 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_2018-07-01;</AzureApiTag>
<AzureApiTag>Media_2018-07-01;Media_2019-05-01-preview;</AzureApiTag>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,7 @@ internal AccountFiltersOperations(AzureMediaServicesClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "accountName");
}
if (Client.ApiVersion == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
}
string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand All @@ -110,6 +107,7 @@ internal AccountFiltersOperations(AzureMediaServicesClient client)
Dictionary<string, object> tracingParameters = new Dictionary<string, object>();
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("accountName", accountName);
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters);
}
Expand All @@ -120,9 +118,9 @@ internal AccountFiltersOperations(AzureMediaServicesClient client)
_url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
_url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName));
List<string> _queryParameters = new List<string>();
if (Client.ApiVersion != null)
if (apiVersion != null)
{
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
Expand Down Expand Up @@ -298,10 +296,7 @@ internal AccountFiltersOperations(AzureMediaServicesClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "filterName");
}
if (Client.ApiVersion == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
}
string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand All @@ -312,6 +307,7 @@ internal AccountFiltersOperations(AzureMediaServicesClient client)
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("accountName", accountName);
tracingParameters.Add("filterName", filterName);
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters);
}
Expand All @@ -323,9 +319,9 @@ internal AccountFiltersOperations(AzureMediaServicesClient client)
_url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName));
_url = _url.Replace("{filterName}", System.Uri.EscapeDataString(filterName));
List<string> _queryParameters = new List<string>();
if (Client.ApiVersion != null)
if (apiVersion != null)
{
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
Expand Down Expand Up @@ -512,10 +508,7 @@ internal AccountFiltersOperations(AzureMediaServicesClient client)
{
parameters.Validate();
}
if (Client.ApiVersion == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
}
string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand All @@ -527,6 +520,7 @@ internal AccountFiltersOperations(AzureMediaServicesClient client)
tracingParameters.Add("accountName", accountName);
tracingParameters.Add("filterName", filterName);
tracingParameters.Add("parameters", parameters);
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters);
}
Expand All @@ -538,9 +532,9 @@ internal AccountFiltersOperations(AzureMediaServicesClient client)
_url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName));
_url = _url.Replace("{filterName}", System.Uri.EscapeDataString(filterName));
List<string> _queryParameters = new List<string>();
if (Client.ApiVersion != null)
if (apiVersion != null)
{
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
Expand Down Expand Up @@ -737,10 +731,7 @@ internal AccountFiltersOperations(AzureMediaServicesClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "filterName");
}
if (Client.ApiVersion == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
}
string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand All @@ -751,6 +742,7 @@ internal AccountFiltersOperations(AzureMediaServicesClient client)
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("accountName", accountName);
tracingParameters.Add("filterName", filterName);
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters);
}
Expand All @@ -762,9 +754,9 @@ internal AccountFiltersOperations(AzureMediaServicesClient client)
_url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName));
_url = _url.Replace("{filterName}", System.Uri.EscapeDataString(filterName));
List<string> _queryParameters = new List<string>();
if (Client.ApiVersion != null)
if (apiVersion != null)
{
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
Expand Down Expand Up @@ -929,10 +921,7 @@ internal AccountFiltersOperations(AzureMediaServicesClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
if (Client.ApiVersion == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
}
string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand All @@ -944,6 +933,7 @@ internal AccountFiltersOperations(AzureMediaServicesClient client)
tracingParameters.Add("accountName", accountName);
tracingParameters.Add("filterName", filterName);
tracingParameters.Add("parameters", parameters);
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters);
}
Expand All @@ -955,9 +945,9 @@ internal AccountFiltersOperations(AzureMediaServicesClient client)
_url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName));
_url = _url.Replace("{filterName}", System.Uri.EscapeDataString(filterName));
List<string> _queryParameters = new List<string>();
if (Client.ApiVersion != null)
if (apiVersion != null)
{
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,7 @@ internal AssetFiltersOperations(AzureMediaServicesClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "assetName");
}
if (Client.ApiVersion == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
}
string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand All @@ -118,6 +115,7 @@ internal AssetFiltersOperations(AzureMediaServicesClient client)
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("accountName", accountName);
tracingParameters.Add("assetName", assetName);
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters);
}
Expand All @@ -129,9 +127,9 @@ internal AssetFiltersOperations(AzureMediaServicesClient client)
_url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName));
_url = _url.Replace("{assetName}", System.Uri.EscapeDataString(assetName));
List<string> _queryParameters = new List<string>();
if (Client.ApiVersion != null)
if (apiVersion != null)
{
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
Expand Down Expand Up @@ -314,10 +312,7 @@ internal AssetFiltersOperations(AzureMediaServicesClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "filterName");
}
if (Client.ApiVersion == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
}
string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand All @@ -329,6 +324,7 @@ internal AssetFiltersOperations(AzureMediaServicesClient client)
tracingParameters.Add("accountName", accountName);
tracingParameters.Add("assetName", assetName);
tracingParameters.Add("filterName", filterName);
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters);
}
Expand All @@ -341,9 +337,9 @@ internal AssetFiltersOperations(AzureMediaServicesClient client)
_url = _url.Replace("{assetName}", System.Uri.EscapeDataString(assetName));
_url = _url.Replace("{filterName}", System.Uri.EscapeDataString(filterName));
List<string> _queryParameters = new List<string>();
if (Client.ApiVersion != null)
if (apiVersion != null)
{
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
Expand Down Expand Up @@ -537,10 +533,7 @@ internal AssetFiltersOperations(AzureMediaServicesClient client)
{
parameters.Validate();
}
if (Client.ApiVersion == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
}
string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand All @@ -553,6 +546,7 @@ internal AssetFiltersOperations(AzureMediaServicesClient client)
tracingParameters.Add("assetName", assetName);
tracingParameters.Add("filterName", filterName);
tracingParameters.Add("parameters", parameters);
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters);
}
Expand All @@ -565,9 +559,9 @@ internal AssetFiltersOperations(AzureMediaServicesClient client)
_url = _url.Replace("{assetName}", System.Uri.EscapeDataString(assetName));
_url = _url.Replace("{filterName}", System.Uri.EscapeDataString(filterName));
List<string> _queryParameters = new List<string>();
if (Client.ApiVersion != null)
if (apiVersion != null)
{
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
Expand Down Expand Up @@ -771,10 +765,7 @@ internal AssetFiltersOperations(AzureMediaServicesClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "filterName");
}
if (Client.ApiVersion == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
}
string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand All @@ -786,6 +777,7 @@ internal AssetFiltersOperations(AzureMediaServicesClient client)
tracingParameters.Add("accountName", accountName);
tracingParameters.Add("assetName", assetName);
tracingParameters.Add("filterName", filterName);
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters);
}
Expand All @@ -798,9 +790,9 @@ internal AssetFiltersOperations(AzureMediaServicesClient client)
_url = _url.Replace("{assetName}", System.Uri.EscapeDataString(assetName));
_url = _url.Replace("{filterName}", System.Uri.EscapeDataString(filterName));
List<string> _queryParameters = new List<string>();
if (Client.ApiVersion != null)
if (apiVersion != null)
{
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
Expand Down Expand Up @@ -972,10 +964,7 @@ internal AssetFiltersOperations(AzureMediaServicesClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
if (Client.ApiVersion == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
}
string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand All @@ -988,6 +977,7 @@ internal AssetFiltersOperations(AzureMediaServicesClient client)
tracingParameters.Add("assetName", assetName);
tracingParameters.Add("filterName", filterName);
tracingParameters.Add("parameters", parameters);
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters);
}
Expand All @@ -1000,9 +990,9 @@ internal AssetFiltersOperations(AzureMediaServicesClient client)
_url = _url.Replace("{assetName}", System.Uri.EscapeDataString(assetName));
_url = _url.Replace("{filterName}", System.Uri.EscapeDataString(filterName));
List<string> _queryParameters = new List<string>();
if (Client.ApiVersion != null)
if (apiVersion != null)
{
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
Expand Down
Loading