Skip to content
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
* 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.azurestack;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
* Defines values for ComputeRole.
*/
public final class ComputeRole extends ExpandableStringEnum<ComputeRole> {
/** Static value None for ComputeRole. */
public static final ComputeRole NONE = fromString("None");

/** Static value IaaS for ComputeRole. */
public static final ComputeRole IAAS = fromString("IaaS");

/** Static value PaaS for ComputeRole. */
public static final ComputeRole PAAS = fromString("PaaS");

/**
* Creates or finds a ComputeRole from its string representation.
* @param name a name to look for
* @return the corresponding ComputeRole
*/
@JsonCreator
public static ComputeRole fromString(String name) {
return fromString(name, ComputeRole.class);
}

/**
* @return known ComputeRole values
*/
public static Collection<ComputeRole> values() {
return values(ComputeRole.class);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/**
* 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.azurestack;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Data disk image.
*/
public class DataDiskImage {
/**
* The LUN.
*/
@JsonProperty(value = "lun", access = JsonProperty.Access.WRITE_ONLY)
private Integer lun;

/**
* SAS key for source blob.
*/
@JsonProperty(value = "sourceBlobSasUri", access = JsonProperty.Access.WRITE_ONLY)
private String sourceBlobSasUri;

/**
* Get the lun value.
*
* @return the lun value
*/
public Integer lun() {
return this.lun;
}

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
/**
* 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.azurestack;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Contains the localized display information for this particular operation or
* action.
*/
public class Display {
/**
* The localized, friendly version of the resource provider name.
*/
@JsonProperty(value = "provider")
private String provider;

/**
* The localized, friendly version of the resource type related to this
* action or operation; the resource type should match the public
* documentation for the resource provider.
*/
@JsonProperty(value = "resource")
private String resource;

/**
* The localized, friendly name for the operation. Use the name as it will
* displayed to the user.
*/
@JsonProperty(value = "operation")
private String operation;

/**
* The localized, friendly description for the operation. The description
* will be displayed to the user. It should be thorough and concise for
* used in both tooltips and detailed views.
*/
@JsonProperty(value = "description")
private String description;

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

/**
* Set the provider value.
*
* @param provider the provider value to set
* @return the Display object itself.
*/
public Display withProvider(String provider) {
this.provider = provider;
return this;
}

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

/**
* Set the resource value.
*
* @param resource the resource value to set
* @return the Display object itself.
*/
public Display withResource(String resource) {
this.resource = resource;
return this;
}

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

/**
* Set the operation value.
*
* @param operation the operation value to set
* @return the Display object itself.
*/
public Display withOperation(String operation) {
this.operation = operation;
return this;
}

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

/**
* Set the description value.
*
* @param description the description value to set
* @return the Display object itself.
*/
public Display withDescription(String description) {
this.description = description;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
/**
* 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.azurestack;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Links to product icons.
*/
public class IconUris {
/**
* URI to large icon.
*/
@JsonProperty(value = "large")
private String large;

/**
* URI to wide icon.
*/
@JsonProperty(value = "wide")
private String wide;

/**
* URI to medium icon.
*/
@JsonProperty(value = "medium")
private String medium;

/**
* URI to small icon.
*/
@JsonProperty(value = "small")
private String small;

/**
* URI to hero icon.
*/
@JsonProperty(value = "hero")
private String hero;

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

/**
* Set the large value.
*
* @param large the large value to set
* @return the IconUris object itself.
*/
public IconUris withLarge(String large) {
this.large = large;
return this;
}

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

/**
* Set the wide value.
*
* @param wide the wide value to set
* @return the IconUris object itself.
*/
public IconUris withWide(String wide) {
this.wide = wide;
return this;
}

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

/**
* Set the medium value.
*
* @param medium the medium value to set
* @return the IconUris object itself.
*/
public IconUris withMedium(String medium) {
this.medium = medium;
return this;
}

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

/**
* Set the small value.
*
* @param small the small value to set
* @return the IconUris object itself.
*/
public IconUris withSmall(String small) {
this.small = small;
return this;
}

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

/**
* Set the hero value.
*
* @param hero the hero value to set
* @return the IconUris object itself.
*/
public IconUris withHero(String hero) {
this.hero = hero;
return this;
}

}
Loading