-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR containerregistry/resource-manager] Azure container registry …
…build feature GA API specification and examples. (#2312) * Generated from 9287b2d8d81830b265620ee97d5ca5ddda400d26 Azure container registry build GA API specification and examples. * Generated from a3b1cb94eef44835709c9dd5944e76537585831e Removed Alias and secrets property from task. * Generated from 40798dd592ce0d63c1fc0086f983241f7471269b Update readme.md to include tags for all languages * Generated from fd9d36edfbdcdd3f434fd8fcac2868cd8c3007d6 Updated the operation ID as per the feedback
- Loading branch information
1 parent
67a0175
commit d72e126
Showing
152 changed files
with
21,158 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.containerregistry.v2018_09_01</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-containerregistry</artifactId> | ||
<version>1.0.0-beta</version> | ||
<packaging>jar</packaging> | ||
<name>Microsoft Azure SDK for ContainerRegistry Management</name> | ||
<description>This package contains Microsoft ContainerRegistry 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:[email protected]: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> |
45 changes: 45 additions & 0 deletions
45
..._01/src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Actor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/** | ||
* 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.containerregistry.v2018_09_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The agent that initiated the event. For most situations, this could be from | ||
* the authorization context of the request. | ||
*/ | ||
public class Actor { | ||
/** | ||
* The subject or username associated with the request context that | ||
* generated the event. | ||
*/ | ||
@JsonProperty(value = "name") | ||
private String name; | ||
|
||
/** | ||
* Get the subject or username associated with the request context that generated the event. | ||
* | ||
* @return the name value | ||
*/ | ||
public String name() { | ||
return this.name; | ||
} | ||
|
||
/** | ||
* Set the subject or username associated with the request context that generated the event. | ||
* | ||
* @param name the name value to set | ||
* @return the Actor object itself. | ||
*/ | ||
public Actor withName(String name) { | ||
this.name = name; | ||
return this; | ||
} | ||
|
||
} |
43 changes: 43 additions & 0 deletions
43
...in/java/com/microsoft/azure/management/containerregistry/v2018_09_01/AgentProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/** | ||
* 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.containerregistry.v2018_09_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The properties that determine the run agent configuration. | ||
*/ | ||
public class AgentProperties { | ||
/** | ||
* The CPU configuration in terms of number of cores required for the run. | ||
*/ | ||
@JsonProperty(value = "cpu") | ||
private Integer cpu; | ||
|
||
/** | ||
* Get the CPU configuration in terms of number of cores required for the run. | ||
* | ||
* @return the cpu value | ||
*/ | ||
public Integer cpu() { | ||
return this.cpu; | ||
} | ||
|
||
/** | ||
* Set the CPU configuration in terms of number of cores required for the run. | ||
* | ||
* @param cpu the cpu value to set | ||
* @return the AgentProperties object itself. | ||
*/ | ||
public AgentProperties withCpu(Integer cpu) { | ||
this.cpu = cpu; | ||
return this; | ||
} | ||
|
||
} |
44 changes: 44 additions & 0 deletions
44
.../main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Architecture.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.containerregistry.v2018_09_01; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for Architecture. | ||
*/ | ||
public final class Architecture extends ExpandableStringEnum<Architecture> { | ||
/** Static value amd64 for Architecture. */ | ||
public static final Architecture AMD64 = fromString("amd64"); | ||
|
||
/** Static value x86 for Architecture. */ | ||
public static final Architecture X86 = fromString("x86"); | ||
|
||
/** Static value arm for Architecture. */ | ||
public static final Architecture ARM = fromString("arm"); | ||
|
||
/** | ||
* Creates or finds a Architecture from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding Architecture | ||
*/ | ||
@JsonCreator | ||
public static Architecture fromString(String name) { | ||
return fromString(name, Architecture.class); | ||
} | ||
|
||
/** | ||
* @return known Architecture values | ||
*/ | ||
public static Collection<Architecture> values() { | ||
return values(Architecture.class); | ||
} | ||
} |
96 changes: 96 additions & 0 deletions
96
.../src/main/java/com/microsoft/azure/management/containerregistry/v2018_09_01/Argument.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
/** | ||
* 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.containerregistry.v2018_09_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The properties of a run argument. | ||
*/ | ||
public class Argument { | ||
/** | ||
* The name of the argument. | ||
*/ | ||
@JsonProperty(value = "name", required = true) | ||
private String name; | ||
|
||
/** | ||
* The value of the argument. | ||
*/ | ||
@JsonProperty(value = "value", required = true) | ||
private String value; | ||
|
||
/** | ||
* Flag to indicate whether the argument represents a secret and want to be | ||
* removed from build logs. | ||
*/ | ||
@JsonProperty(value = "isSecret") | ||
private Boolean isSecret; | ||
|
||
/** | ||
* Get the name of the argument. | ||
* | ||
* @return the name value | ||
*/ | ||
public String name() { | ||
return this.name; | ||
} | ||
|
||
/** | ||
* Set the name of the argument. | ||
* | ||
* @param name the name value to set | ||
* @return the Argument object itself. | ||
*/ | ||
public Argument withName(String name) { | ||
this.name = name; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the value of the argument. | ||
* | ||
* @return the value value | ||
*/ | ||
public String value() { | ||
return this.value; | ||
} | ||
|
||
/** | ||
* Set the value of the argument. | ||
* | ||
* @param value the value value to set | ||
* @return the Argument object itself. | ||
*/ | ||
public Argument withValue(String value) { | ||
this.value = value; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get flag to indicate whether the argument represents a secret and want to be removed from build logs. | ||
* | ||
* @return the isSecret value | ||
*/ | ||
public Boolean isSecret() { | ||
return this.isSecret; | ||
} | ||
|
||
/** | ||
* Set flag to indicate whether the argument represents a secret and want to be removed from build logs. | ||
* | ||
* @param isSecret the isSecret value to set | ||
* @return the Argument object itself. | ||
*/ | ||
public Argument withIsSecret(Boolean isSecret) { | ||
this.isSecret = isSecret; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.