Skip to content

Commit

Permalink
[AutoPR msi/resource-manager] Update manage service identity api vers…
Browse files Browse the repository at this point in the history
…ion (#2615)

* Generated from c5e3d7fb237ee96094a2198b3515dc48c03ceded

update Managed Service Identity api version to 2018-11-30, the differnt from previous api-version is the clientSecretUrl can be null if identity is user assigned

* Generated from d191254c74aaea1bc9db348a4be70aedbfed96b1

feedback
  • Loading branch information
AutorestCI authored Nov 28, 2018
1 parent e6e5dd6 commit 276b938
Show file tree
Hide file tree
Showing 20 changed files with 2,559 additions and 0 deletions.
133 changes: 133 additions & 0 deletions managedserviceidentity/resource-manager/v2018-11-30/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
<!--
* 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.
-->
<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>
<groupId>com.microsoft.azure.managedserviceidentity.v2018-11-30</groupId>
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>0.0.2-beta</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>azure-mgmt-managedidentity</artifactId>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for ManagedIdentity Management</name>
<description>This package contains Microsoft ManagedIdentity Management SDK.</description>
<url>https://github.com/Azure/azure-libraries-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>scm:git:https://github.com/Azure/azure-libraries-for-java</url>
<connection>scm:git:git@github.com:Azure/azure-libraries-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.microsoft.azure</groupId>
<artifactId>azure-client-runtime</artifactId>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-client-runtime</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-client-authentication</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-resources</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
</dependencies>
<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.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<annotationProcessors>
<annotationProcessor>
com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
</annotationProcessor>
</annotationProcessors>
<debug>true</debug>
<optimize>true</optimize>
<compilerArguments>
<AaddGeneratedAnnotation>true</AaddGeneratedAnnotation>
<Adebug>true</Adebug>
</compilerArguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<configuration>
<excludePackageNames>*.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search</excludePackageNames>
<bottom>
<![CDATA[<code>
/**
<br />* Copyright (c) Microsoft Corporation. All rights reserved.
<br />* Licensed under the MIT License. See License.txt in the project root for
<br />* license information.
<br />*/
</code>]]>
</bottom>
</configuration>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
/**
* 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.managedserviceidentity.v2018-11-30;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.Resource;
import com.microsoft.azure.arm.resources.models.GroupableResourceCore;
import com.microsoft.azure.arm.resources.models.HasResourceGroup;
import com.microsoft.azure.arm.model.Refreshable;
import com.microsoft.azure.arm.model.Updatable;
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.managedserviceidentity.v2018-11-30.implementation.ManagedIdentityManager;
import java.util.UUID;
import com.microsoft.azure.management.managedserviceidentity.v2018-11-30.implementation.IdentityInner;

/**
* Type representing Identity.
*/
public interface Identity extends HasInner<IdentityInner>, Resource, GroupableResourceCore<ManagedIdentityManager, IdentityInner>, HasResourceGroup, Refreshable<Identity>, Updatable<Identity.Update>, HasManager<ManagedIdentityManager> {
/**
* @return the clientId value.
*/
UUID clientId();

/**
* @return the clientSecretUrl value.
*/
String clientSecretUrl();

/**
* @return the principalId value.
*/
UUID principalId();

/**
* @return the tenantId value.
*/
UUID tenantId();

/**
* The entirety of the Identity definition.
*/
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, DefinitionStages.WithCreate {
}

/**
* Grouping of Identity definition stages.
*/
interface DefinitionStages {
/**
* The first stage of a Identity definition.
*/
interface Blank extends GroupableResourceCore.DefinitionWithRegion<WithGroup> {
}

/**
* The stage of the Identity definition allowing to specify the resource group.
*/
interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<WithCreate> {
}

/**
* The stage of the definition which contains all the minimum required inputs for
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
interface WithCreate extends Creatable<Identity>, Resource.DefinitionWithTags<WithCreate> {
}
}
/**
* The template for a Identity update operation, containing all the settings that can be modified.
*/
interface Update extends Appliable<Identity>, Resource.UpdateWithTags<Update> {
}

/**
* Grouping of Identity update stages.
*/
interface UpdateStages {
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/**
* 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.managedserviceidentity.v2018-11-30;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.managedserviceidentity.v2018-11-30.implementation.ManagedIdentityManager;
import com.microsoft.azure.management.managedserviceidentity.v2018-11-30.implementation.OperationInner;

/**
* Type representing Operation.
*/
public interface Operation extends HasInner<OperationInner>, HasManager<ManagedIdentityManager> {
/**
* @return the display value.
*/
OperationDisplay display();

/**
* @return the name value.
*/
String name();

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
/**
* 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.managedserviceidentity.v2018-11-30;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Operation Display.
* The object that describes the operation.
*/
public class OperationDisplay {
/**
* Resource Provider Name.
* Friendly name of the resource provider.
*/
@JsonProperty(value = "provider")
private String provider;

/**
* Operation Type.
* The type of operation. For example: read, write, delete.
*/
@JsonProperty(value = "operation")
private String operation;

/**
* Resource Type.
* The resource type on which the operation is performed.
*/
@JsonProperty(value = "resource")
private String resource;

/**
* Operation description.
* A description of the operation.
*/
@JsonProperty(value = "description")
private String description;

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

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

/**
* Get the type of operation. For example: read, write, delete.
*
* @return the operation value
*/
public String operation() {
return this.operation;
}

/**
* Set the type of operation. For example: read, write, delete.
*
* @param operation the operation value to set
* @return the OperationDisplay object itself.
*/
public OperationDisplay withOperation(String operation) {
this.operation = operation;
return this;
}

/**
* Get the resource type on which the operation is performed.
*
* @return the resource value
*/
public String resource() {
return this.resource;
}

/**
* Set the resource type on which the operation is performed.
*
* @param resource the resource value to set
* @return the OperationDisplay object itself.
*/
public OperationDisplay withResource(String resource) {
this.resource = resource;
return this;
}

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

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

}
Loading

0 comments on commit 276b938

Please sign in to comment.