Skip to content

Commit

Permalink
Generated from b4f4a80c4b217452910eae7eda4b0aeb27b7447a
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Nov 3, 2020
1 parent aa6d252 commit 1dbd6bb
Show file tree
Hide file tree
Showing 13 changed files with 874 additions and 25 deletions.
12 changes: 7 additions & 5 deletions sdk/containerinstance/mgmt-v2018_10_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<relativePath>../../parents/azure-arm-parent</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-containerinstance</artifactId>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for ContainerInstance Management</name>
<description>This package contains Microsoft ContainerInstance Management SDK.</description>
<url>https://github.com/Azure/azure-libraries-for-java</url>
<url>https://github.com/Azure/azure-sdk-for-java</url>
<licenses>
<license>
<name>The MIT License (MIT)</name>
Expand All @@ -28,8 +28,8 @@
</license>
</licenses>
<scm>
<url>scm:git:https://github.com/Azure/azure-libraries-for-java</url>
<connection>scm:git:[email protected]:Azure/azure-libraries-for-java.git</connection>
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
<connection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</connection>
<tag>HEAD</tag>
</scm>
<properties>
Expand Down Expand Up @@ -71,6 +71,8 @@
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
/**
* 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.containerinstance.v2018_10_01;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The cached image and OS type.
*/
public class CachedImages {
/**
* The resource Id of the cached image.
*/
@JsonProperty(value = "id")
private String id;

/**
* The OS type of the cached image.
*/
@JsonProperty(value = "osType", required = true)
private String osType;

/**
* The cached image name.
*/
@JsonProperty(value = "image", required = true)
private String image;

/**
* Get the resource Id of the cached image.
*
* @return the id value
*/
public String id() {
return this.id;
}

/**
* Set the resource Id of the cached image.
*
* @param id the id value to set
* @return the CachedImages object itself.
*/
public CachedImages withId(String id) {
this.id = id;
return this;
}

/**
* Get the OS type of the cached image.
*
* @return the osType value
*/
public String osType() {
return this.osType;
}

/**
* Set the OS type of the cached image.
*
* @param osType the osType value to set
* @return the CachedImages object itself.
*/
public CachedImages withOsType(String osType) {
this.osType = osType;
return this;
}

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

/**
* Set the cached image name.
*
* @param image the image value to set
* @return the CachedImages object itself.
*/
public CachedImages withImage(String image) {
this.image = image;
return this;
}

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

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The regional capabilities.
*/
public class Capabilities {
/**
* The resource type that this capability describes.
*/
@JsonProperty(value = "resourceType", access = JsonProperty.Access.WRITE_ONLY)
private String resourceType;

/**
* The OS type that this capability describes.
*/
@JsonProperty(value = "osType", access = JsonProperty.Access.WRITE_ONLY)
private String osType;

/**
* The resource location.
*/
@JsonProperty(value = "location", access = JsonProperty.Access.WRITE_ONLY)
private String location;

/**
* The ip address type that this capability describes.
*/
@JsonProperty(value = "ipAddressType", access = JsonProperty.Access.WRITE_ONLY)
private String ipAddressType;

/**
* The GPU sku that this capability describes.
*/
@JsonProperty(value = "gpu", access = JsonProperty.Access.WRITE_ONLY)
private String gpu;

/**
* The supported capabilities.
*/
@JsonProperty(value = "capabilities", access = JsonProperty.Access.WRITE_ONLY)
private CapabilitiesCapabilities capabilities;

/**
* Get the resource type that this capability describes.
*
* @return the resourceType value
*/
public String resourceType() {
return this.resourceType;
}

/**
* Get the OS type that this capability describes.
*
* @return the osType value
*/
public String osType() {
return this.osType;
}

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

/**
* Get the ip address type that this capability describes.
*
* @return the ipAddressType value
*/
public String ipAddressType() {
return this.ipAddressType;
}

/**
* Get the GPU sku that this capability describes.
*
* @return the gpu value
*/
public String gpu() {
return this.gpu;
}

/**
* Get the supported capabilities.
*
* @return the capabilities value
*/
public CapabilitiesCapabilities capabilities() {
return this.capabilities;
}

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

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The supported capabilities.
*/
public class CapabilitiesCapabilities {
/**
* The maximum allowed memory request in GB.
*/
@JsonProperty(value = "maxMemoryInGB", access = JsonProperty.Access.WRITE_ONLY)
private Double maxMemoryInGB;

/**
* The maximum allowed CPU request in cores.
*/
@JsonProperty(value = "maxCpu", access = JsonProperty.Access.WRITE_ONLY)
private Double maxCpu;

/**
* The maximum allowed GPU count.
*/
@JsonProperty(value = "maxGpuCount", access = JsonProperty.Access.WRITE_ONLY)
private Double maxGpuCount;

/**
* Get the maximum allowed memory request in GB.
*
* @return the maxMemoryInGB value
*/
public Double maxMemoryInGB() {
return this.maxMemoryInGB;
}

/**
* Get the maximum allowed CPU request in cores.
*
* @return the maxCpu value
*/
public Double maxCpu() {
return this.maxCpu;
}

/**
* Get the maximum allowed GPU count.
*
* @return the maxGpuCount value
*/
public Double maxGpuCount() {
return this.maxGpuCount;
}

}
Loading

0 comments on commit 1dbd6bb

Please sign in to comment.