Skip to content
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
2 changes: 1 addition & 1 deletion src/SDKs/StorageSync/AzSdk.RP.props
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>StorageSync_2018-04-02;</AzureApiTag>
<AzureApiTag>StorageSync_2018-07-01;</AzureApiTag>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,34 @@ public partial interface IRegisteredServersOperations
/// </exception>
Task<AzureOperationHeaderResponse<RegisteredServersDeleteHeaders>> DeleteWithHttpMessagesAsync(string resourceGroupName, string storageSyncServiceName, string serverId, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Triggers Server certificate rollover.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='storageSyncServiceName'>
/// Name of Storage Sync Service resource.
/// </param>
/// <param name='serverId'>
/// Server Id
/// </param>
/// <param name='certificateData'>
/// Certificate Data
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="StorageSyncErrorException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationHeaderResponse<RegisteredServersTriggerRolloverHeaders>> TriggerRolloverWithHttpMessagesAsync(string resourceGroupName, string storageSyncServiceName, string serverId, string certificateData = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Add a new registered server.
/// </summary>
/// <param name='resourceGroupName'>
Expand Down Expand Up @@ -188,5 +216,33 @@ public partial interface IRegisteredServersOperations
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationHeaderResponse<RegisteredServersDeleteHeaders>> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string storageSyncServiceName, string serverId, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Triggers Server certificate rollover.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='storageSyncServiceName'>
/// Name of Storage Sync Service resource.
/// </param>
/// <param name='serverId'>
/// Server Id
/// </param>
/// <param name='certificateData'>
/// Certificate Data
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="StorageSyncErrorException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationHeaderResponse<RegisteredServersTriggerRolloverHeaders>> BeginTriggerRolloverWithHttpMessagesAsync(string resourceGroupName, string storageSyncServiceName, string serverId, string certificateData = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ public partial interface ISyncGroupsOperations
/// <param name='syncGroupName'>
/// Name of Sync Group resource.
/// </param>
/// <param name='parameters'>
/// Sync Group Body
/// <param name='properties'>
/// The parameters used to create the sync group
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -78,7 +78,7 @@ public partial interface ISyncGroupsOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<SyncGroup,SyncGroupsCreateHeaders>> CreateWithHttpMessagesAsync(string resourceGroupName, string storageSyncServiceName, string syncGroupName, SyncGroupCreateParameters parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
Task<AzureOperationResponse<SyncGroup,SyncGroupsCreateHeaders>> CreateWithHttpMessagesAsync(string resourceGroupName, string storageSyncServiceName, string syncGroupName, object properties = default(object), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Get a given SyncGroup.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,31 @@ namespace Microsoft.Azure.Management.StorageSync
/// </summary>
public partial interface IWorkflowsOperations
{
/// <summary>
/// Get a Workflow List
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='storageSyncServiceName'>
/// Name of Storage Sync Service resource.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="StorageSyncErrorException">
/// 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<IEnumerable<Workflow>,WorkflowsListByStorageSyncServiceHeaders>> ListByStorageSyncServiceWithHttpMessagesAsync(string resourceGroupName, string storageSyncServiceName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Get Workflows resource
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Management.StorageSync.Models
/// Cloud Endpoint object.
/// </summary>
[Rest.Serialization.JsonTransformation]
public partial class CloudEndpoint : Resource
public partial class CloudEndpoint : ProxyResource
{
/// <summary>
/// Initializes a new instance of the CloudEndpoint class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@ namespace Microsoft.Azure.Management.StorageSync.Models
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

/// <summary>
/// The parameters used when creating a storage sync service.
/// The parameters used when creating a cloud endpoint.
/// </summary>
[Rest.Serialization.JsonTransformation]
public partial class CloudEndpointCreateParameters
public partial class CloudEndpointCreateParameters : ProxyResource
{
/// <summary>
/// Initializes a new instance of the CloudEndpointCreateParameters
Expand All @@ -36,28 +34,21 @@ public CloudEndpointCreateParameters()
/// Initializes a new instance of the CloudEndpointCreateParameters
/// class.
/// </summary>
/// <param name="location">Required. Gets or sets the location of the
/// resource. This will be one of the supported and registered Azure
/// Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo
/// region of a resource cannot be changed once it is created, but if
/// an identical geo region is specified on update, the request will
/// succeed.</param>
/// <param name="tags">Gets or sets a list of key value pairs that
/// describe the resource. These tags can be used for viewing and
/// grouping this resource (across resource groups). A maximum of 15
/// tags can be provided for a resource. Each tag must have a key with
/// a length no greater than 128 characters and a value with a length
/// no greater than 256 characters.</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. Ex-
/// Microsoft.Compute/virtualMachines or
/// Microsoft.Storage/storageAccounts.</param>
/// <param name="storageAccountResourceId">Storage Account Resource
/// Id</param>
/// <param name="storageAccountShareName">Storage Account Share
/// name</param>
/// <param name="storageAccountTenantId">Storage Account Tenant
/// Id</param>
public CloudEndpointCreateParameters(string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string storageAccountResourceId = default(string), string storageAccountShareName = default(string), string storageAccountTenantId = default(string))
public CloudEndpointCreateParameters(string id = default(string), string name = default(string), string type = default(string), string storageAccountResourceId = default(string), string storageAccountShareName = default(string), string storageAccountTenantId = default(string))
: base(id, name, type)
{
Location = location;
Tags = tags;
StorageAccountResourceId = storageAccountResourceId;
StorageAccountShareName = storageAccountShareName;
StorageAccountTenantId = storageAccountTenantId;
Expand All @@ -69,27 +60,6 @@ public CloudEndpointCreateParameters()
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets or sets required. Gets or sets the location of the resource.
/// This will be one of the supported and registered Azure Geo Regions
/// (e.g. West US, East US, Southeast Asia, etc.). The geo region of a
/// resource cannot be changed once it is created, but if an identical
/// geo region is specified on update, the request will succeed.
/// </summary>
[JsonProperty(PropertyName = "location")]
public string Location { get; set; }

/// <summary>
/// Gets or sets a list of key value pairs that describe the resource.
/// These tags can be used for viewing and grouping this resource
/// (across resource groups). A maximum of 15 tags can be provided for
/// a resource. Each tag must have a key with a length no greater than
/// 128 characters and a value with a length no greater than 256
/// characters.
/// </summary>
[JsonProperty(PropertyName = "tags")]
public IDictionary<string, string> Tags { get; set; }

/// <summary>
/// Gets or sets storage Account Resource Id
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Management.StorageSync.Models
/// Registered Server resource.
/// </summary>
[Rest.Serialization.JsonTransformation]
public partial class RegisteredServer : Resource
public partial class RegisteredServer : ProxyResource
{
/// <summary>
/// Initializes a new instance of the RegisteredServer class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@ namespace Microsoft.Azure.Management.StorageSync.Models
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

/// <summary>
/// The parameters used when creating a storage sync service.
/// The parameters used when creating a registered server.
/// </summary>
[Rest.Serialization.JsonTransformation]
public partial class RegisteredServerCreateParameters
public partial class RegisteredServerCreateParameters : ProxyResource
{
/// <summary>
/// Initializes a new instance of the RegisteredServerCreateParameters
Expand All @@ -36,18 +34,12 @@ public RegisteredServerCreateParameters()
/// Initializes a new instance of the RegisteredServerCreateParameters
/// class.
/// </summary>
/// <param name="location">Required. Gets or sets the location of the
/// resource. This will be one of the supported and registered Azure
/// Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo
/// region of a resource cannot be changed once it is created, but if
/// an identical geo region is specified on update, the request will
/// succeed.</param>
/// <param name="tags">Gets or sets a list of key value pairs that
/// describe the resource. These tags can be used for viewing and
/// grouping this resource (across resource groups). A maximum of 15
/// tags can be provided for a resource. Each tag must have a key with
/// a length no greater than 128 characters and a value with a length
/// no greater than 256 characters.</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. Ex-
/// Microsoft.Compute/virtualMachines or
/// Microsoft.Storage/storageAccounts.</param>
/// <param name="serverCertificate">Registered Server
/// Certificate</param>
/// <param name="agentVersion">Registered Server Agent Version</param>
Expand All @@ -59,10 +51,9 @@ public RegisteredServerCreateParameters()
/// <param name="clusterName">Registered Server clusterName</param>
/// <param name="serverId">Registered Server serverId</param>
/// <param name="friendlyName">Friendly Name</param>
public RegisteredServerCreateParameters(string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string serverCertificate = default(string), string agentVersion = default(string), string serverOSVersion = default(string), string lastHeartBeat = default(string), string serverRole = default(string), string clusterId = default(string), string clusterName = default(string), string serverId = default(string), string friendlyName = default(string))
public RegisteredServerCreateParameters(string id = default(string), string name = default(string), string type = default(string), string serverCertificate = default(string), string agentVersion = default(string), string serverOSVersion = default(string), string lastHeartBeat = default(string), string serverRole = default(string), string clusterId = default(string), string clusterName = default(string), string serverId = default(string), string friendlyName = default(string))
: base(id, name, type)
{
Location = location;
Tags = tags;
ServerCertificate = serverCertificate;
AgentVersion = agentVersion;
ServerOSVersion = serverOSVersion;
Expand All @@ -80,27 +71,6 @@ public RegisteredServerCreateParameters()
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets or sets required. Gets or sets the location of the resource.
/// This will be one of the supported and registered Azure Geo Regions
/// (e.g. West US, East US, Southeast Asia, etc.). The geo region of a
/// resource cannot be changed once it is created, but if an identical
/// geo region is specified on update, the request will succeed.
/// </summary>
[JsonProperty(PropertyName = "location")]
public string Location { get; set; }

/// <summary>
/// Gets or sets a list of key value pairs that describe the resource.
/// These tags can be used for viewing and grouping this resource
/// (across resource groups). A maximum of 15 tags can be provided for
/// a resource. Each tag must have a key with a length no greater than
/// 128 characters and a value with a length no greater than 256
/// characters.
/// </summary>
[JsonProperty(PropertyName = "tags")]
public IDictionary<string, string> Tags { get; set; }

/// <summary>
/// Gets or sets registered Server Certificate
/// </summary>
Expand Down
Loading