Skip to content

Commit fbd42d9

Browse files
author
SDK Automation
committed
Generated from a810e7b4c68562f9670b2d0fcb12c79fe3574c22
PrivateEndpointConnection should inherit proxyresource Update spec
1 parent 2d1ee9a commit fbd42d9

File tree

105 files changed

+11768
-140
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+11768
-140
lines changed

sdk/containerregistry/mgmt-v2019_04_01/pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
<parent>
1212
<groupId>com.microsoft.azure</groupId>
1313
<artifactId>azure-arm-parent</artifactId>
14-
<version>1.2.0</version>
14+
<version>1.1.0</version>
1515
<relativePath>../../../pom.management.xml</relativePath>
1616
</parent>
1717
<artifactId>azure-mgmt-containerregistry</artifactId>
18-
<version>1.0.0-beta-1</version>
18+
<version>1.0.0-beta</version>
1919
<packaging>jar</packaging>
2020
<name>Microsoft Azure SDK for ContainerRegistry Management</name>
2121
<description>This package contains Microsoft ContainerRegistry Management SDK.</description>
@@ -71,6 +71,8 @@
7171
<artifactId>azure-arm-client-runtime</artifactId>
7272
<type>test-jar</type>
7373
<scope>test</scope>
74+
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
75+
<version>1.6.5</version>
7476
</dependency>
7577
</dependencies>
7678
<build>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.containerregistry.v2019_04_01;
10+
11+
import java.util.Collection;
12+
import com.fasterxml.jackson.annotation.JsonCreator;
13+
import com.microsoft.rest.ExpandableStringEnum;
14+
15+
/**
16+
* Defines values for Action.
17+
*/
18+
public final class Action extends ExpandableStringEnum<Action> {
19+
/** Static value Allow for Action. */
20+
public static final Action ALLOW = fromString("Allow");
21+
22+
/**
23+
* Creates or finds a Action from its string representation.
24+
* @param name a name to look for
25+
* @return the corresponding Action
26+
*/
27+
@JsonCreator
28+
public static Action fromString(String name) {
29+
return fromString(name, Action.class);
30+
}
31+
32+
/**
33+
* @return known Action values
34+
*/
35+
public static Collection<Action> values() {
36+
return values(Action.class);
37+
}
38+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.containerregistry.v2019_04_01;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* The agent that initiated the event. For most situations, this could be from
15+
* the authorization context of the request.
16+
*/
17+
public class Actor {
18+
/**
19+
* The subject or username associated with the request context that
20+
* generated the event.
21+
*/
22+
@JsonProperty(value = "name")
23+
private String name;
24+
25+
/**
26+
* Get the subject or username associated with the request context that generated the event.
27+
*
28+
* @return the name value
29+
*/
30+
public String name() {
31+
return this.name;
32+
}
33+
34+
/**
35+
* Set the subject or username associated with the request context that generated the event.
36+
*
37+
* @param name the name value to set
38+
* @return the Actor object itself.
39+
*/
40+
public Actor withName(String name) {
41+
this.name = name;
42+
return this;
43+
}
44+
45+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.containerregistry.v2019_04_01;
10+
11+
import com.microsoft.azure.arm.model.HasInner;
12+
import com.microsoft.azure.arm.resources.models.HasManager;
13+
import com.microsoft.azure.management.containerregistry.v2019_04_01.implementation.ContainerRegistryManager;
14+
import com.microsoft.azure.management.containerregistry.v2019_04_01.implementation.CallbackConfigInner;
15+
import java.util.Map;
16+
17+
/**
18+
* Type representing CallbackConfig.
19+
*/
20+
public interface CallbackConfig extends HasInner<CallbackConfigInner>, HasManager<ContainerRegistryManager> {
21+
/**
22+
* @return the customHeaders value.
23+
*/
24+
Map<String, String> customHeaders();
25+
26+
/**
27+
* @return the serviceUri value.
28+
*/
29+
String serviceUri();
30+
31+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.containerregistry.v2019_04_01;
10+
11+
import java.util.Collection;
12+
import com.fasterxml.jackson.annotation.JsonCreator;
13+
import com.microsoft.rest.ExpandableStringEnum;
14+
15+
/**
16+
* Defines values for DefaultAction.
17+
*/
18+
public final class DefaultAction extends ExpandableStringEnum<DefaultAction> {
19+
/** Static value Allow for DefaultAction. */
20+
public static final DefaultAction ALLOW = fromString("Allow");
21+
22+
/** Static value Deny for DefaultAction. */
23+
public static final DefaultAction DENY = fromString("Deny");
24+
25+
/**
26+
* Creates or finds a DefaultAction from its string representation.
27+
* @param name a name to look for
28+
* @return the corresponding DefaultAction
29+
*/
30+
@JsonCreator
31+
public static DefaultAction fromString(String name) {
32+
return fromString(name, DefaultAction.class);
33+
}
34+
35+
/**
36+
* @return known DefaultAction values
37+
*/
38+
public static Collection<DefaultAction> values() {
39+
return values(DefaultAction.class);
40+
}
41+
}

sdk/containerregistry/mgmt-v2019_04_01/src/main/java/com/microsoft/azure/management/containerregistry/v2019_04_01/DockerBuildRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* The parameters for a docker quick build.
1818
*/
19-
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
19+
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = DockerBuildRequest.class)
2020
@JsonTypeName("DockerBuildRequest")
2121
public class DockerBuildRequest extends RunRequest {
2222
/**

sdk/containerregistry/mgmt-v2019_04_01/src/main/java/com/microsoft/azure/management/containerregistry/v2019_04_01/DockerBuildStep.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* The Docker build step.
1818
*/
19-
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
19+
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = DockerBuildStep.class)
2020
@JsonTypeName("Docker")
2121
public class DockerBuildStep extends TaskStepProperties {
2222
/**

sdk/containerregistry/mgmt-v2019_04_01/src/main/java/com/microsoft/azure/management/containerregistry/v2019_04_01/DockerBuildStepUpdateParameters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* The properties for updating a docker build step.
1818
*/
19-
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
19+
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = DockerBuildStepUpdateParameters.class)
2020
@JsonTypeName("Docker")
2121
public class DockerBuildStepUpdateParameters extends TaskStepUpdateParameters {
2222
/**

sdk/containerregistry/mgmt-v2019_04_01/src/main/java/com/microsoft/azure/management/containerregistry/v2019_04_01/EncodedTaskRunRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* The parameters for a quick task run request.
1818
*/
19-
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
19+
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = EncodedTaskRunRequest.class)
2020
@JsonTypeName("EncodedTaskRunRequest")
2121
public class EncodedTaskRunRequest extends RunRequest {
2222
/**

sdk/containerregistry/mgmt-v2019_04_01/src/main/java/com/microsoft/azure/management/containerregistry/v2019_04_01/EncodedTaskStep.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* The properties of a encoded task step.
1818
*/
19-
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
19+
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = EncodedTaskStep.class)
2020
@JsonTypeName("EncodedTask")
2121
public class EncodedTaskStep extends TaskStepProperties {
2222
/**

0 commit comments

Comments
 (0)