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
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.storagesync;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.azure.ProxyResource;

/**
* The resource model definition for a Azure Resource Manager resource with an
* etag.
*/
public class AzureEntityResource extends ProxyResource {
/**
* Resource Etag.
*/
@JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY)
private String etag;

/**
* Get resource Etag.
*
* @return the etag value
*/
public String etag() {
return this.etag;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.storagesync;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Backup request.
*/
public class BackupRequest {
/**
* Azure File Share.
*/
@JsonProperty(value = "azureFileShare")
private String azureFileShare;

/**
* Get azure File Share.
*
* @return the azureFileShare value
*/
public String azureFileShare() {
return this.azureFileShare;
}

/**
* Set azure File Share.
*
* @param azureFileShare the azureFileShare value to set
* @return the BackupRequest object itself.
*/
public BackupRequest withAzureFileShare(String azureFileShare) {
this.azureFileShare = azureFileShare;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.storagesync;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Parameters for a check name availability request.
*/
public class CheckNameAvailabilityParameters {
/**
* The name to check for availability.
*/
@JsonProperty(value = "name", required = true)
private String name;

/**
* The resource type. Must be set to
* Microsoft.StorageSync/storageSyncServices.
*/
@JsonProperty(value = "type", required = true)
private String type;

/**
* Creates an instance of CheckNameAvailabilityParameters class.
* @param name the name to check for availability.
*/
public CheckNameAvailabilityParameters() {
type = "Microsoft.StorageSync/storageSyncServices";
}

/**
* Get the name to check for availability.
*
* @return the name value
*/
public String name() {
return this.name;
}

/**
* Set the name to check for availability.
*
* @param name the name value to set
* @return the CheckNameAvailabilityParameters object itself.
*/
public CheckNameAvailabilityParameters withName(String name) {
this.name = name;
return this;
}

/**
* Get the resource type. Must be set to Microsoft.StorageSync/storageSyncServices.
*
* @return the type value
*/
public String type() {
return this.type;
}

/**
* Set the resource type. Must be set to Microsoft.StorageSync/storageSyncServices.
*
* @param type the type value to set
* @return the CheckNameAvailabilityParameters object itself.
*/
public CheckNameAvailabilityParameters withType(String type) {
this.type = type;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.storagesync;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.ProxyResource;

/**
* The parameters used when creating a cloud endpoint.
*/
@JsonFlatten
public class CloudEndpointCreateParameters extends ProxyResource {
/**
* Storage Account Resource Id.
*/
@JsonProperty(value = "properties.storageAccountResourceId")
private String storageAccountResourceId;

/**
* Storage Account Share name.
*/
@JsonProperty(value = "properties.storageAccountShareName")
private String storageAccountShareName;

/**
* Storage Account Tenant Id.
*/
@JsonProperty(value = "properties.storageAccountTenantId")
private String storageAccountTenantId;

/**
* Get storage Account Resource Id.
*
* @return the storageAccountResourceId value
*/
public String storageAccountResourceId() {
return this.storageAccountResourceId;
}

/**
* Set storage Account Resource Id.
*
* @param storageAccountResourceId the storageAccountResourceId value to set
* @return the CloudEndpointCreateParameters object itself.
*/
public CloudEndpointCreateParameters withStorageAccountResourceId(String storageAccountResourceId) {
this.storageAccountResourceId = storageAccountResourceId;
return this;
}

/**
* Get storage Account Share name.
*
* @return the storageAccountShareName value
*/
public String storageAccountShareName() {
return this.storageAccountShareName;
}

/**
* Set storage Account Share name.
*
* @param storageAccountShareName the storageAccountShareName value to set
* @return the CloudEndpointCreateParameters object itself.
*/
public CloudEndpointCreateParameters withStorageAccountShareName(String storageAccountShareName) {
this.storageAccountShareName = storageAccountShareName;
return this;
}

/**
* Get storage Account Tenant Id.
*
* @return the storageAccountTenantId value
*/
public String storageAccountTenantId() {
return this.storageAccountTenantId;
}

/**
* Set storage Account Tenant Id.
*
* @param storageAccountTenantId the storageAccountTenantId value to set
* @return the CloudEndpointCreateParameters object itself.
*/
public CloudEndpointCreateParameters withStorageAccountTenantId(String storageAccountTenantId) {
this.storageAccountTenantId = storageAccountTenantId;
return this;
}

}
Loading