Skip to content

Commit f28826e

Browse files
authored
mgmt attestation regenerate package-2020-10-01 (Azure#18829)
* mgmt attestation regenerate package-2020-10-01 * update pom
1 parent e532247 commit f28826e

20 files changed

+1129
-51
lines changed

sdk/attestation/mgmt-v2020_10_01/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
1616
</parent>
1717
<artifactId>azure-mgmt-attestation</artifactId>
18-
<version>1.0.0-beta</version>
18+
<version>1.0.0-beta-1</version>
1919
<packaging>jar</packaging>
2020
<name>Microsoft Azure SDK for Attestation Management</name>
2121
<description>This package contains Microsoft Attestation Management SDK.</description>

sdk/attestation/mgmt-v2020_10_01/src/main/java/com/microsoft/azure/management/attestation/v2020_10_01/AttestationProvider.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import com.microsoft.azure.arm.model.Creatable;
1919
import com.microsoft.azure.arm.resources.models.HasManager;
2020
import com.microsoft.azure.management.attestation.v2020_10_01.implementation.AttestationManager;
21+
import java.util.List;
2122
import com.microsoft.azure.management.attestation.v2020_10_01.implementation.AttestationProviderInner;
2223

2324
/**
@@ -29,6 +30,11 @@ public interface AttestationProvider extends HasInner<AttestationProviderInner>,
2930
*/
3031
String attestUri();
3132

33+
/**
34+
* @return the privateEndpointConnections value.
35+
*/
36+
List<PrivateEndpointConnection> privateEndpointConnections();
37+
3238
/**
3339
* @return the status value.
3440
*/
@@ -72,7 +78,7 @@ interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<Wit
7278
interface WithProperties {
7379
/**
7480
* Specifies properties.
75-
* @param properties Properties of the attestation service instance
81+
* @param properties Properties of the attestation provider
7682
* @return the next definition stage
7783
*/
7884
WithCreate withProperties(AttestationServiceCreationSpecificParams properties);

sdk/attestation/mgmt-v2020_10_01/src/main/java/com/microsoft/azure/management/attestation/v2020_10_01/AttestationServiceCreationParams.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,30 @@
1212
import com.fasterxml.jackson.annotation.JsonProperty;
1313

1414
/**
15-
* Parameters for creating an attestation service instance.
15+
* Parameters for creating an attestation provider.
1616
*/
1717
public class AttestationServiceCreationParams {
1818
/**
19-
* The supported Azure location where the attestation service instance
20-
* should be created.
19+
* The supported Azure location where the attestation provider should be
20+
* created.
2121
*/
2222
@JsonProperty(value = "location", required = true)
2323
private String location;
2424

2525
/**
26-
* The tags that will be assigned to the attestation service instance.
26+
* The tags that will be assigned to the attestation provider.
2727
*/
2828
@JsonProperty(value = "tags")
2929
private Map<String, String> tags;
3030

3131
/**
32-
* Properties of the attestation service instance.
32+
* Properties of the attestation provider.
3333
*/
3434
@JsonProperty(value = "properties", required = true)
3535
private AttestationServiceCreationSpecificParams properties;
3636

3737
/**
38-
* Get the supported Azure location where the attestation service instance should be created.
38+
* Get the supported Azure location where the attestation provider should be created.
3939
*
4040
* @return the location value
4141
*/
@@ -44,7 +44,7 @@ public String location() {
4444
}
4545

4646
/**
47-
* Set the supported Azure location where the attestation service instance should be created.
47+
* Set the supported Azure location where the attestation provider should be created.
4848
*
4949
* @param location the location value to set
5050
* @return the AttestationServiceCreationParams object itself.
@@ -55,7 +55,7 @@ public AttestationServiceCreationParams withLocation(String location) {
5555
}
5656

5757
/**
58-
* Get the tags that will be assigned to the attestation service instance.
58+
* Get the tags that will be assigned to the attestation provider.
5959
*
6060
* @return the tags value
6161
*/
@@ -64,7 +64,7 @@ public Map<String, String> tags() {
6464
}
6565

6666
/**
67-
* Set the tags that will be assigned to the attestation service instance.
67+
* Set the tags that will be assigned to the attestation provider.
6868
*
6969
* @param tags the tags value to set
7070
* @return the AttestationServiceCreationParams object itself.
@@ -75,7 +75,7 @@ public AttestationServiceCreationParams withTags(Map<String, String> tags) {
7575
}
7676

7777
/**
78-
* Get properties of the attestation service instance.
78+
* Get properties of the attestation provider.
7979
*
8080
* @return the properties value
8181
*/
@@ -84,7 +84,7 @@ public AttestationServiceCreationSpecificParams properties() {
8484
}
8585

8686
/**
87-
* Set properties of the attestation service instance.
87+
* Set properties of the attestation provider.
8888
*
8989
* @param properties the properties value to set
9090
* @return the AttestationServiceCreationParams object itself.

sdk/attestation/mgmt-v2020_10_01/src/main/java/com/microsoft/azure/management/attestation/v2020_10_01/AttestationServiceCreationSpecificParams.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
import com.fasterxml.jackson.annotation.JsonProperty;
1212

1313
/**
14-
* Client supplied parameters used to create a new attestation service
15-
* instance.
14+
* Client supplied parameters used to create a new attestation provider.
1615
*/
1716
public class AttestationServiceCreationSpecificParams {
1817
/**

sdk/attestation/mgmt-v2020_10_01/src/main/java/com/microsoft/azure/management/attestation/v2020_10_01/AttestationServicePatchParams.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@
1212
import com.fasterxml.jackson.annotation.JsonProperty;
1313

1414
/**
15-
* Parameters for patching an attestation service instance.
15+
* Parameters for patching an attestation provider.
1616
*/
1717
public class AttestationServicePatchParams {
1818
/**
19-
* The tags that will be assigned to the attestation service instance.
19+
* The tags that will be assigned to the attestation provider.
2020
*/
2121
@JsonProperty(value = "tags")
2222
private Map<String, String> tags;
2323

2424
/**
25-
* Get the tags that will be assigned to the attestation service instance.
25+
* Get the tags that will be assigned to the attestation provider.
2626
*
2727
* @return the tags value
2828
*/
@@ -31,7 +31,7 @@ public Map<String, String> tags() {
3131
}
3232

3333
/**
34-
* Set the tags that will be assigned to the attestation service instance.
34+
* Set the tags that will be assigned to the attestation provider.
3535
*
3636
* @param tags the tags value to set
3737
* @return the AttestationServicePatchParams object itself.

sdk/attestation/mgmt-v2020_10_01/src/main/java/com/microsoft/azure/management/attestation/v2020_10_01/JSONWebKey.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class JSONWebKey {
2222
* established by [JWA] or be a value that contains a Collision-
2323
* Resistant Name.
2424
*/
25-
@JsonProperty(value = "alg", required = true)
25+
@JsonProperty(value = "alg")
2626
private String alg;
2727

2828
/**
@@ -72,7 +72,7 @@ public class JSONWebKey {
7272
* equivalent alternatives by the application using them.) The "kid"
7373
* value is a case-sensitive string.
7474
*/
75-
@JsonProperty(value = "kid", required = true)
75+
@JsonProperty(value = "kid")
7676
private String kid;
7777

7878
/**
@@ -115,7 +115,7 @@ public class JSONWebKey {
115115
* a public key is used for encrypting data or verifying the signature
116116
* on data. Values are commonly "sig" (signature) or "enc" (encryption).
117117
*/
118-
@JsonProperty(value = "use", required = true)
118+
@JsonProperty(value = "use")
119119
private String use;
120120

121121
/**
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
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.attestation.v2020_10_01;
10+
11+
import com.microsoft.azure.arm.model.HasInner;
12+
import com.microsoft.azure.management.attestation.v2020_10_01.implementation.PrivateEndpointConnectionInner;
13+
import com.microsoft.azure.arm.model.Indexable;
14+
import com.microsoft.azure.arm.model.Creatable;
15+
import com.microsoft.azure.arm.model.Updatable;
16+
import com.microsoft.azure.arm.model.Appliable;
17+
import com.microsoft.azure.arm.resources.models.HasManager;
18+
import com.microsoft.azure.management.attestation.v2020_10_01.implementation.AttestationManager;
19+
20+
/**
21+
* Type representing PrivateEndpointConnection.
22+
*/
23+
public interface PrivateEndpointConnection extends HasInner<PrivateEndpointConnectionInner>, Indexable, Updatable<PrivateEndpointConnection.Update>, HasManager<AttestationManager> {
24+
/**
25+
* @return the id value.
26+
*/
27+
String id();
28+
29+
/**
30+
* @return the name value.
31+
*/
32+
String name();
33+
34+
/**
35+
* @return the provisioningState value.
36+
*/
37+
PrivateEndpointConnectionProvisioningState provisioningState();
38+
39+
/**
40+
* @return the type value.
41+
*/
42+
String type();
43+
44+
/**
45+
* The entirety of the PrivateEndpointConnection definition.
46+
*/
47+
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithResourceGroupName, DefinitionStages.WithProviderName, DefinitionStages.WithProvisioningState, DefinitionStages.WithCreate {
48+
}
49+
50+
/**
51+
* Grouping of PrivateEndpointConnection definition stages.
52+
*/
53+
interface DefinitionStages {
54+
/**
55+
* The first stage of a PrivateEndpointConnection definition.
56+
*/
57+
interface Blank extends WithResourceGroupName {
58+
}
59+
60+
/**
61+
* The stage of the privateendpointconnection definition allowing to specify ResourceGroupName.
62+
*/
63+
interface WithResourceGroupName {
64+
/**
65+
* Specifies resourceGroupName.
66+
* @param resourceGroupName The name of the resource group. The name is case insensitive
67+
* @return the next definition stage
68+
*/
69+
WithProviderName withResourceGroupName(String resourceGroupName);
70+
}
71+
72+
/**
73+
* The stage of the privateendpointconnection definition allowing to specify ProviderName.
74+
*/
75+
interface WithProviderName {
76+
/**
77+
* Specifies providerName.
78+
* @param providerName The name of the attestation provider
79+
* @return the next definition stage
80+
*/
81+
WithProvisioningState withProviderName(String providerName);
82+
}
83+
84+
/**
85+
* The stage of the privateendpointconnection definition allowing to specify ProvisioningState.
86+
*/
87+
interface WithProvisioningState {
88+
/**
89+
* Specifies provisioningState.
90+
* @param provisioningState Provisioning state of the private endpoint connection. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'
91+
* @return the next definition stage
92+
*/
93+
WithCreate withProvisioningState(PrivateEndpointConnectionProvisioningState provisioningState);
94+
}
95+
96+
/**
97+
* The stage of the definition which contains all the minimum required inputs for
98+
* the resource to be created (via {@link WithCreate#create()}), but also allows
99+
* for any other optional settings to be specified.
100+
*/
101+
interface WithCreate extends Creatable<PrivateEndpointConnection> {
102+
}
103+
}
104+
/**
105+
* The template for a PrivateEndpointConnection update operation, containing all the settings that can be modified.
106+
*/
107+
interface Update extends Appliable<PrivateEndpointConnection>, UpdateStages.WithProvisioningState {
108+
}
109+
110+
/**
111+
* Grouping of PrivateEndpointConnection update stages.
112+
*/
113+
interface UpdateStages {
114+
/**
115+
* The stage of the privateendpointconnection update allowing to specify ProvisioningState.
116+
*/
117+
interface WithProvisioningState {
118+
/**
119+
* Specifies provisioningState.
120+
* @param provisioningState Provisioning state of the private endpoint connection. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'
121+
* @return the next update stage
122+
*/
123+
Update withProvisioningState(PrivateEndpointConnectionProvisioningState provisioningState);
124+
}
125+
126+
}
127+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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.attestation.v2020_10_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 PrivateEndpointConnectionProvisioningState.
17+
*/
18+
public final class PrivateEndpointConnectionProvisioningState extends ExpandableStringEnum<PrivateEndpointConnectionProvisioningState> {
19+
/** Static value Succeeded for PrivateEndpointConnectionProvisioningState. */
20+
public static final PrivateEndpointConnectionProvisioningState SUCCEEDED = fromString("Succeeded");
21+
22+
/** Static value Creating for PrivateEndpointConnectionProvisioningState. */
23+
public static final PrivateEndpointConnectionProvisioningState CREATING = fromString("Creating");
24+
25+
/** Static value Deleting for PrivateEndpointConnectionProvisioningState. */
26+
public static final PrivateEndpointConnectionProvisioningState DELETING = fromString("Deleting");
27+
28+
/** Static value Failed for PrivateEndpointConnectionProvisioningState. */
29+
public static final PrivateEndpointConnectionProvisioningState FAILED = fromString("Failed");
30+
31+
/**
32+
* Creates or finds a PrivateEndpointConnectionProvisioningState from its string representation.
33+
* @param name a name to look for
34+
* @return the corresponding PrivateEndpointConnectionProvisioningState
35+
*/
36+
@JsonCreator
37+
public static PrivateEndpointConnectionProvisioningState fromString(String name) {
38+
return fromString(name, PrivateEndpointConnectionProvisioningState.class);
39+
}
40+
41+
/**
42+
* @return known PrivateEndpointConnectionProvisioningState values
43+
*/
44+
public static Collection<PrivateEndpointConnectionProvisioningState> values() {
45+
return values(PrivateEndpointConnectionProvisioningState.class);
46+
}
47+
}

0 commit comments

Comments
 (0)