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

[AutoPR Microsoft.Azure.Management.DataBox] [Mirror] add clear-output-folder in resource-manager readme.typescript.md to f… #526

Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ private void Initialize()
Jobs = new JobsOperations(this);
Service = new ServiceOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
ApiVersion = "2019-09-01";
ApiVersion = "2018-01-01";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
Expand Down Expand Up @@ -369,14 +369,6 @@ private void Initialize()
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<JobDetails>("jobDetailsType"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<JobSecrets>("jobSecretsType"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<JobSecrets>("jobSecretsType"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<ScheduleAvailabilityRequest>("skuName"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<ScheduleAvailabilityRequest>("skuName"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<ValidationInputRequest>("validationType"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<ValidationInputRequest>("validationType"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<ValidationInputResponse>("validationType"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<ValidationInputResponse>("validationType"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<ValidationRequest>("validationCategory"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<ValidationRequest>("validationCategory"));
CustomInitialize();
DeserializationSettings.Converters.Add(new TransformationJsonConverter());
DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,74 +50,18 @@ public partial interface IServiceOperations
/// </exception>
Task<AzureOperationResponse<IPage<SkuInformation>>> ListAvailableSkusWithHttpMessagesAsync(string location, AvailableSkuRequest availableSkuRequest, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// This method provides the list of available skus for the given
/// subscription, resource group and location.
/// </summary>
/// <param name='resourceGroupName'>
/// The Resource Group Name
/// </param>
/// <param name='location'>
/// The location of the resource
/// </param>
/// <param name='availableSkuRequest'>
/// Filters for showing the available skus.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<SkuInformation>>> ListAvailableSkusByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string location, AvailableSkuRequest availableSkuRequest, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// [DEPRECATED NOTICE: This operation will soon be removed] This
/// method validates the customer shipping address and provide
/// This method validates the customer shipping address and provide
/// alternate addresses if any.
/// </summary>
/// <param name='location'>
/// The location of the resource
/// </param>
/// <param name='validateAddress'>
/// <param name='shippingAddress'>
/// Shipping address of the customer.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="ValidationException">
/// Thrown when a required parameter is null
/// </exception>
[System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
Task<AzureOperationResponse<AddressValidationOutput>> ValidateAddressMethodWithHttpMessagesAsync(string location, ValidateAddress validateAddress, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// This method does all necessary pre-job creation validation under
/// resource group.
/// </summary>
/// <param name='resourceGroupName'>
/// The Resource Group Name
/// </param>
/// <param name='location'>
/// The location of the resource
/// </param>
/// <param name='validationRequest'>
/// Inputs of the customer.
/// <param name='deviceType'>
/// Device type to be used for the job. Possible values include:
/// 'DataBox', 'DataBoxDisk', 'DataBoxHeavy'
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -134,62 +78,7 @@ public partial interface IServiceOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<ValidationResponse>> ValidateInputsByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string location, ValidationRequest validationRequest, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// This method does all necessary pre-job creation validation under
/// subscription.
/// </summary>
/// <param name='location'>
/// The location of the resource
/// </param>
/// <param name='validationRequest'>
/// Inputs of the customer.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<ValidationResponse>> ValidateInputsWithHttpMessagesAsync(string location, ValidationRequest validationRequest, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// This API provides configuration details specific to given
/// region/location.
/// </summary>
/// <param name='location'>
/// The location of the resource
/// </param>
/// <param name='scheduleAvailabilityRequest'>
/// Request body to get the availability for scheduling orders.
/// </param>
/// <param name='transportAvailabilityRequest'>
/// Request body to get the transport availability for given sku.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<RegionConfigurationResponse>> RegionConfigurationWithHttpMessagesAsync(string location, ScheduleAvailabilityRequest scheduleAvailabilityRequest = default(ScheduleAvailabilityRequest), TransportAvailabilityRequest transportAvailabilityRequest = default(TransportAvailabilityRequest), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
Task<AzureOperationResponse<AddressValidationOutput>> ValidateAddressMethodWithHttpMessagesAsync(string location, ShippingAddress shippingAddress, SkuName deviceType, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// This method provides the list of available skus for the given
/// subscription and location.
Expand All @@ -213,28 +102,5 @@ public partial interface IServiceOperations
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<SkuInformation>>> ListAvailableSkusNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// This method provides the list of available skus for the given
/// subscription, resource group and location.
/// </summary>
/// <param name='nextPageLink'>
/// The NextLink from the previous successful call to List operation.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<SkuInformation>>> ListAvailableSkusByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,14 @@ public AccountCredentialDetails()
/// Initializes a new instance of the AccountCredentialDetails class.
/// </summary>
/// <param name="accountName">Name of the account.</param>
/// <param name="dataDestinationType">Data Destination Type. Possible
/// values include: 'StorageAccount', 'ManagedDisk'</param>
/// <param name="accountConnectionString">Connection string of the
/// account endpoint to use the account as a storage endpoint on the
/// device.</param>
/// <param name="shareCredentialDetails">Per share level unencrypted
/// access credentials.</param>
public AccountCredentialDetails(string accountName = default(string), DataDestinationType? dataDestinationType = default(DataDestinationType?), string accountConnectionString = default(string), IList<ShareCredentialDetails> shareCredentialDetails = default(IList<ShareCredentialDetails>))
public AccountCredentialDetails(string accountName = default(string), string accountConnectionString = default(string), IList<ShareCredentialDetails> shareCredentialDetails = default(IList<ShareCredentialDetails>))
{
AccountName = accountName;
DataDestinationType = dataDestinationType;
AccountConnectionString = accountConnectionString;
ShareCredentialDetails = shareCredentialDetails;
CustomInit();
Expand All @@ -59,13 +56,6 @@ public AccountCredentialDetails()
[JsonProperty(PropertyName = "accountName")]
public string AccountName { get; private set; }

/// <summary>
/// Gets data Destination Type. Possible values include:
/// 'StorageAccount', 'ManagedDisk'
/// </summary>
[JsonProperty(PropertyName = "dataDestinationType")]
public DataDestinationType? DataDestinationType { get; private set; }

/// <summary>
/// Gets connection string of the account endpoint to use the account
/// as a storage endpoint on the device.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,12 @@ public AddressValidationOutput()
/// <summary>
/// Initializes a new instance of the AddressValidationOutput class.
/// </summary>
/// <param name="error">Error code and message of validation
/// response.</param>
/// <param name="validationStatus">The address validation status.
/// Possible values include: 'Valid', 'Invalid', 'Ambiguous'</param>
/// <param name="alternateAddresses">List of alternate
/// addresses.</param>
public AddressValidationOutput(Error error = default(Error), AddressValidationStatus? validationStatus = default(AddressValidationStatus?), IList<ShippingAddress> alternateAddresses = default(IList<ShippingAddress>))
public AddressValidationOutput(AddressValidationStatus? validationStatus = default(AddressValidationStatus?), IList<ShippingAddress> alternateAddresses = default(IList<ShippingAddress>))
{
Error = error;
ValidationStatus = validationStatus;
AlternateAddresses = alternateAddresses;
CustomInit();
Expand All @@ -53,12 +50,6 @@ public AddressValidationOutput()
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets error code and message of validation response.
/// </summary>
[JsonProperty(PropertyName = "properties.error")]
public Error Error { get; private set; }

/// <summary>
/// Gets the address validation status. Possible values include:
/// 'Valid', 'Invalid', 'Ambiguous'
Expand Down

This file was deleted.

Loading