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
Expand Up @@ -21,7 +21,7 @@ public class ContainerServiceVMDiagnostics {
private boolean enabled;

/**
* The URI of the storage account where diagnostics are stored.
* The storageUri property.
*/
@JsonProperty(value = "storageUri", access = JsonProperty.Access.WRITE_ONLY)
private String storageUri;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public Observable<ServiceResponse<AvailabilitySetInner>> createOrUpdateWithServi
throw new IllegalArgumentException("Parameter parameters is required and cannot be null.");
}
Validator.validate(parameters);
final String apiVersion = "2017-12-01";
final String apiVersion = "2017-12-01-alphadummy";
return service.createOrUpdate(resourceGroupName, availabilitySetName, this.client.subscriptionId(), parameters, apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<AvailabilitySetInner>>>() {
@Override
Expand Down Expand Up @@ -249,7 +249,7 @@ public Observable<ServiceResponse<AvailabilitySetInner>> updateWithServiceRespon
throw new IllegalArgumentException("Parameter parameters is required and cannot be null.");
}
Validator.validate(parameters);
final String apiVersion = "2017-12-01";
final String apiVersion = "2017-12-01-alphadummy";
return service.update(resourceGroupName, availabilitySetName, this.client.subscriptionId(), parameters, apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<AvailabilitySetInner>>>() {
@Override
Expand Down Expand Up @@ -333,7 +333,7 @@ public Observable<ServiceResponse<OperationStatusResponseInner>> deleteWithServi
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2017-12-01";
final String apiVersion = "2017-12-01-alphadummy";
return service.delete(resourceGroupName, availabilitySetName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<OperationStatusResponseInner>>>() {
@Override
Expand Down Expand Up @@ -418,7 +418,7 @@ public Observable<ServiceResponse<AvailabilitySetInner>> getByResourceGroupWithS
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2017-12-01";
final String apiVersion = "2017-12-01-alphadummy";
return service.getByResourceGroup(resourceGroupName, availabilitySetName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<AvailabilitySetInner>>>() {
@Override
Expand Down Expand Up @@ -499,7 +499,7 @@ public Observable<ServiceResponse<List<AvailabilitySetInner>>> listByResourceGro
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2017-12-01";
final String apiVersion = "2017-12-01-alphadummy";
return service.listByResourceGroup(resourceGroupName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<List<AvailabilitySetInner>>>>() {
@Override
Expand Down Expand Up @@ -584,7 +584,7 @@ public Observable<ServiceResponse<List<VirtualMachineSizeInner>>> listAvailableS
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2017-12-01";
final String apiVersion = "2017-12-01-alphadummy";
return service.listAvailableSizes(resourceGroupName, availabilitySetName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<List<VirtualMachineSizeInner>>>>() {
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,52 @@ public ComputeManagementClientImpl withSubscriptionId(String subscriptionId) {
return this;
}

/** The name of the resource group. */
private String resourceGroupName;

/**
* Gets The name of the resource group.
*
* @return the resourceGroupName value.
*/
public String resourceGroupName() {
return this.resourceGroupName;
}

/**
* Sets The name of the resource group.
*
* @param resourceGroupName the resourceGroupName value.
* @return the service client itself
*/
public ComputeManagementClientImpl withResourceGroupName(String resourceGroupName) {
this.resourceGroupName = resourceGroupName;
return this;
}

/** The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. */
private String diskName;

/**
* Gets The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
*
* @return the diskName value.
*/
public String diskName() {
return this.diskName;
}

/**
* Sets The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
*
* @param diskName the diskName value.
* @return the service client itself
*/
public ComputeManagementClientImpl withDiskName(String diskName) {
this.diskName = diskName;
return this;
}

/** Gets or sets the preferred language for the response. */
private String acceptLanguage;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@
@JsonFlatten
public class ContainerServiceInner extends Resource {
/**
* the current deployment or provisioning state, which only appears in the
* response.
* The provisioningState property.
*/
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private String provisioningState;

/**
* Properties of the orchestrator.
* The orchestratorProfile property.
*/
@JsonProperty(value = "properties.orchestratorProfile")
private ContainerServiceOrchestratorProfile orchestratorProfile;
Expand Down
Loading