Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
d6c0a1a
move aci from azure-libraries
ChenTanyi Jul 15, 2020
a648e2f
update pom
ChenTanyi Jul 15, 2020
218de00
refactor namespace
ChenTanyi Jul 15, 2020
fc1f959
update api-specs
ChenTanyi Jul 15, 2020
61d548b
regen aci
ChenTanyi Jul 15, 2020
261550f
refactor manager
ChenTanyi Jul 15, 2020
b4dc7d8
remove method beta
ChenTanyi Jul 16, 2020
df7696e
fix models type
ChenTanyi Jul 16, 2020
66b1326
fix manager and some import error
ChenTanyi Jul 16, 2020
400f49a
fix compile error
ChenTanyi Jul 17, 2020
2d2b97e
add aci in azure
ChenTanyi Jul 17, 2020
fb62cb8
fix compile error
ChenTanyi Jul 17, 2020
33063cf
move sample
ChenTanyi Jul 17, 2020
024f1c6
fix compile error
ChenTanyi Jul 17, 2020
27cc3b1
update api version
ChenTanyi Jul 17, 2020
1a89032
regen
ChenTanyi Jul 17, 2020
1700751
update manager dependency
ChenTanyi Jul 17, 2020
fc19912
remove inner
ChenTanyi Jul 17, 2020
259e41d
regen
ChenTanyi Jul 17, 2020
426d790
fix compile error
ChenTanyi Jul 17, 2020
c6f5cde
add subnet delegation
ChenTanyi Jul 20, 2020
62e71be
add virtual network interface
ChenTanyi Jul 20, 2020
df51955
add test for virtual network
ChenTanyi Jul 20, 2020
8ff546d
add session record for virtual network
ChenTanyi Jul 20, 2020
d36e781
fix test error
ChenTanyi Jul 21, 2020
05a8d8a
update session-record
ChenTanyi Jul 21, 2020
49dd380
format
ChenTanyi Jul 21, 2020
47d906a
format azure package
ChenTanyi Jul 21, 2020
663fd44
auto fix some checkstyle
ChenTanyi Jul 21, 2020
2fff63b
fix verify error
ChenTanyi Jul 21, 2020
a8d2e3c
change sample test to live only
ChenTanyi Jul 21, 2020
3f92a3e
add withExistingNetworkProfile and withNewNetworkProfileOnExistingVir…
ChenTanyi Jul 21, 2020
198e80d
fix compile error
ChenTanyi Jul 21, 2020
dd50580
remove Beta
ChenTanyi Jul 21, 2020
a3af859
remove unused import
ChenTanyi Jul 21, 2020
f80cf71
fix checkstyle
ChenTanyi Jul 21, 2020
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
151 changes: 151 additions & 0 deletions sdk/containerinstance/mgmt/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../../management/pom.xml</relativePath>
</parent>

<artifactId>azure-resourcemanager-containerinstance</artifactId>
<packaging>jar</packaging>

<name>Microsoft Azure SDK for Container Instance Management</name>
<description>This package contains Microsoft Azure Container Instance SDK.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
<license>
<name>The MIT License (MIT)</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>

<scm>
<url>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>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<legal><![CDATA[[INFO] Any downloads listed may be third party software. Microsoft grants you no rights for third party software.]]></legal>
</properties>

<developers>
<developer>
<id>microsoft</id>
<name>Microsoft</name>
</developer>
</developers>

<dependencies>
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-resources</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-storage</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-authorization</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-msi</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-network</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-file-share</artifactId>
<version>12.5.0</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>azure-mgmt-sdk-test-jar</id>
<activation>
<property>
<name>!maven.test.skip</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-resources</artifactId>
<version>2.0.0-SNAPSHOT</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<debug>true</debug>
<optimize>true</optimize>
<compilerArguments>
<AaddGeneratedAnnotation>true</AaddGeneratedAnnotation>
<Adebug>true</Adebug>
</compilerArguments>
</configuration>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.containerinstance;

import com.azure.core.annotation.ServiceClient;
import com.azure.core.http.HttpPipeline;
import com.azure.core.management.AzureEnvironment;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.containerinstance.fluent.ContainerGroupsClient;
import com.azure.resourcemanager.containerinstance.fluent.ContainersClient;
import com.azure.resourcemanager.containerinstance.fluent.LocationsClient;
import com.azure.resourcemanager.containerinstance.fluent.OperationsClient;
import com.azure.resourcemanager.resources.fluentcore.AzureServiceClient;

/** Initializes a new instance of the ContainerInstanceManagementClient type. */
@ServiceClient(builder = ContainerInstanceManagementClientBuilder.class)
public final class ContainerInstanceManagementClient extends AzureServiceClient {
private final ClientLogger logger = new ClientLogger(ContainerInstanceManagementClient.class);

/**
* Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of
* the URI for every service call.
*/
private final String subscriptionId;

/**
* Gets Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms
* part of the URI for every service call.
*
* @return the subscriptionId value.
*/
public String getSubscriptionId() {
return this.subscriptionId;
}

/** server parameter. */
private final String endpoint;

/**
* Gets server parameter.
*
* @return the endpoint value.
*/
public String getEndpoint() {
return this.endpoint;
}

/** Api Version. */
private final String apiVersion;

/**
* Gets Api Version.
*
* @return the apiVersion value.
*/
public String getApiVersion() {
return this.apiVersion;
}

/** The HTTP pipeline to send requests through. */
private final HttpPipeline httpPipeline;

/**
* Gets The HTTP pipeline to send requests through.
*
* @return the httpPipeline value.
*/
public HttpPipeline getHttpPipeline() {
return this.httpPipeline;
}

/** The ContainerGroupsClient object to access its operations. */
private final ContainerGroupsClient containerGroups;

/**
* Gets the ContainerGroupsClient object to access its operations.
*
* @return the ContainerGroupsClient object.
*/
public ContainerGroupsClient getContainerGroups() {
return this.containerGroups;
}

/** The OperationsClient object to access its operations. */
private final OperationsClient operations;

/**
* Gets the OperationsClient object to access its operations.
*
* @return the OperationsClient object.
*/
public OperationsClient getOperations() {
return this.operations;
}

/** The LocationsClient object to access its operations. */
private final LocationsClient locations;

/**
* Gets the LocationsClient object to access its operations.
*
* @return the LocationsClient object.
*/
public LocationsClient getLocations() {
return this.locations;
}

/** The ContainersClient object to access its operations. */
private final ContainersClient containers;

/**
* Gets the ContainersClient object to access its operations.
*
* @return the ContainersClient object.
*/
public ContainersClient getContainers() {
return this.containers;
}

/**
* Initializes an instance of ContainerInstanceManagementClient client.
*
* @param httpPipeline The HTTP pipeline to send requests through.
* @param environment The Azure environment.
*/
ContainerInstanceManagementClient(
HttpPipeline httpPipeline, AzureEnvironment environment, String subscriptionId, String endpoint) {
super(httpPipeline, environment);
this.httpPipeline = httpPipeline;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
this.apiVersion = "2019-12-01";
this.containerGroups = new ContainerGroupsClient(this);
this.operations = new OperationsClient(this);
this.locations = new LocationsClient(this);
this.containers = new ContainersClient(this);
}
}
Loading