Skip to content

Commit

Permalink
mgmt regen keyvault (#9704)
Browse files Browse the repository at this point in the history
* regen keyvault

* convert fluent code

* regen after fix in generator
  • Loading branch information
weidongxu-microsoft authored Mar 31, 2020
1 parent c164864 commit 44a4f8e
Show file tree
Hide file tree
Showing 64 changed files with 2,014 additions and 646 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.management.keyvault;
Expand Down Expand Up @@ -37,8 +35,7 @@ public final class AccessPolicyEntry {
private UUID applicationId;

/*
* Permissions the identity has for keys, secrets, certificates and
* storage.
* Permissions the identity has for keys, secrets and certificates.
*/
@JsonProperty(value = "permissions", required = true)
private Permissions permissions;
Expand All @@ -49,7 +46,7 @@ public final class AccessPolicyEntry {
*
* @return the tenantId value.
*/
public UUID getTenantId() {
public UUID tenantId() {
return this.tenantId;
}

Expand All @@ -60,7 +57,7 @@ public UUID getTenantId() {
* @param tenantId the tenantId value to set.
* @return the AccessPolicyEntry object itself.
*/
public AccessPolicyEntry setTenantId(UUID tenantId) {
public AccessPolicyEntry withTenantId(UUID tenantId) {
this.tenantId = tenantId;
return this;
}
Expand All @@ -72,7 +69,7 @@ public AccessPolicyEntry setTenantId(UUID tenantId) {
*
* @return the objectId value.
*/
public String getObjectId() {
public String objectId() {
return this.objectId;
}

Expand All @@ -84,7 +81,7 @@ public String getObjectId() {
* @param objectId the objectId value to set.
* @return the AccessPolicyEntry object itself.
*/
public AccessPolicyEntry setObjectId(String objectId) {
public AccessPolicyEntry withObjectId(String objectId) {
this.objectId = objectId;
return this;
}
Expand All @@ -95,7 +92,7 @@ public AccessPolicyEntry setObjectId(String objectId) {
*
* @return the applicationId value.
*/
public UUID getApplicationId() {
public UUID applicationId() {
return this.applicationId;
}

Expand All @@ -106,29 +103,29 @@ public UUID getApplicationId() {
* @param applicationId the applicationId value to set.
* @return the AccessPolicyEntry object itself.
*/
public AccessPolicyEntry setApplicationId(UUID applicationId) {
public AccessPolicyEntry withApplicationId(UUID applicationId) {
this.applicationId = applicationId;
return this;
}

/**
* Get the permissions property: Permissions the identity has for keys,
* secrets, certificates and storage.
* secrets and certificates.
*
* @return the permissions value.
*/
public Permissions getPermissions() {
public Permissions permissions() {
return this.permissions;
}

/**
* Set the permissions property: Permissions the identity has for keys,
* secrets, certificates and storage.
* secrets and certificates.
*
* @param permissions the permissions value to set.
* @return the AccessPolicyEntry object itself.
*/
public AccessPolicyEntry setPermissions(Permissions permissions) {
public AccessPolicyEntry withPermissions(Permissions permissions) {
this.permissions = permissions;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.management.keyvault;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.management.keyvault;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.management.keyvault;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.management.keyvault;
Expand Down Expand Up @@ -51,7 +49,7 @@ public final class DeletedVaultProperties {
*
* @return the vaultId value.
*/
public String getVaultId() {
public String vaultId() {
return this.vaultId;
}

Expand All @@ -60,7 +58,7 @@ public String getVaultId() {
*
* @return the location value.
*/
public String getLocation() {
public String location() {
return this.location;
}

Expand All @@ -69,7 +67,7 @@ public String getLocation() {
*
* @return the deletionDate value.
*/
public OffsetDateTime getDeletionDate() {
public OffsetDateTime deletionDate() {
return this.deletionDate;
}

Expand All @@ -78,7 +76,7 @@ public OffsetDateTime getDeletionDate() {
*
* @return the scheduledPurgeDate value.
*/
public OffsetDateTime getScheduledPurgeDate() {
public OffsetDateTime scheduledPurgeDate() {
return this.scheduledPurgeDate;
}

Expand All @@ -87,7 +85,7 @@ public OffsetDateTime getScheduledPurgeDate() {
*
* @return the tags value.
*/
public Map<String, String> getTags() {
public Map<String, String> tags() {
return this.tags;
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.management.keyvault;
Expand Down Expand Up @@ -29,7 +27,7 @@ public final class IPRule {
*
* @return the value value.
*/
public String getValue() {
public String value() {
return this.value;
}

Expand All @@ -41,7 +39,7 @@ public String getValue() {
* @param value the value value to set.
* @return the IPRule object itself.
*/
public IPRule setValue(String value) {
public IPRule withValue(String value) {
this.value = value;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.management.keyvault;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.management.keyvault;
Expand Down Expand Up @@ -37,7 +35,7 @@ public final class LogSpecification {
*
* @return the name value.
*/
public String getName() {
public String name() {
return this.name;
}

Expand All @@ -47,7 +45,7 @@ public String getName() {
* @param name the name value to set.
* @return the LogSpecification object itself.
*/
public LogSpecification setName(String name) {
public LogSpecification withName(String name) {
this.name = name;
return this;
}
Expand All @@ -57,7 +55,7 @@ public LogSpecification setName(String name) {
*
* @return the displayName value.
*/
public String getDisplayName() {
public String displayName() {
return this.displayName;
}

Expand All @@ -67,7 +65,7 @@ public String getDisplayName() {
* @param displayName the displayName value to set.
* @return the LogSpecification object itself.
*/
public LogSpecification setDisplayName(String displayName) {
public LogSpecification withDisplayName(String displayName) {
this.displayName = displayName;
return this;
}
Expand All @@ -77,7 +75,7 @@ public LogSpecification setDisplayName(String displayName) {
*
* @return the blobDuration value.
*/
public String getBlobDuration() {
public String blobDuration() {
return this.blobDuration;
}

Expand All @@ -87,7 +85,7 @@ public String getBlobDuration() {
* @param blobDuration the blobDuration value to set.
* @return the LogSpecification object itself.
*/
public LogSpecification setBlobDuration(String blobDuration) {
public LogSpecification withBlobDuration(String blobDuration) {
this.blobDuration = blobDuration;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.management.keyvault;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.management.keyvault;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.management.keyvault;
Expand Down Expand Up @@ -49,7 +47,7 @@ public final class NetworkRuleSet {
*
* @return the bypass value.
*/
public NetworkRuleBypassOptions getBypass() {
public NetworkRuleBypassOptions bypass() {
return this.bypass;
}

Expand All @@ -61,7 +59,7 @@ public NetworkRuleBypassOptions getBypass() {
* @param bypass the bypass value to set.
* @return the NetworkRuleSet object itself.
*/
public NetworkRuleSet setBypass(NetworkRuleBypassOptions bypass) {
public NetworkRuleSet withBypass(NetworkRuleBypassOptions bypass) {
this.bypass = bypass;
return this;
}
Expand All @@ -73,7 +71,7 @@ public NetworkRuleSet setBypass(NetworkRuleBypassOptions bypass) {
*
* @return the defaultAction value.
*/
public NetworkRuleAction getDefaultAction() {
public NetworkRuleAction defaultAction() {
return this.defaultAction;
}

Expand All @@ -85,7 +83,7 @@ public NetworkRuleAction getDefaultAction() {
* @param defaultAction the defaultAction value to set.
* @return the NetworkRuleSet object itself.
*/
public NetworkRuleSet setDefaultAction(NetworkRuleAction defaultAction) {
public NetworkRuleSet withDefaultAction(NetworkRuleAction defaultAction) {
this.defaultAction = defaultAction;
return this;
}
Expand All @@ -95,7 +93,7 @@ public NetworkRuleSet setDefaultAction(NetworkRuleAction defaultAction) {
*
* @return the ipRules value.
*/
public List<IPRule> getIpRules() {
public List<IPRule> ipRules() {
return this.ipRules;
}

Expand All @@ -105,7 +103,7 @@ public List<IPRule> getIpRules() {
* @param ipRules the ipRules value to set.
* @return the NetworkRuleSet object itself.
*/
public NetworkRuleSet setIpRules(List<IPRule> ipRules) {
public NetworkRuleSet withIpRules(List<IPRule> ipRules) {
this.ipRules = ipRules;
return this;
}
Expand All @@ -115,7 +113,7 @@ public NetworkRuleSet setIpRules(List<IPRule> ipRules) {
*
* @return the virtualNetworkRules value.
*/
public List<VirtualNetworkRule> getVirtualNetworkRules() {
public List<VirtualNetworkRule> virtualNetworkRules() {
return this.virtualNetworkRules;
}

Expand All @@ -125,7 +123,7 @@ public List<VirtualNetworkRule> getVirtualNetworkRules() {
* @param virtualNetworkRules the virtualNetworkRules value to set.
* @return the NetworkRuleSet object itself.
*/
public NetworkRuleSet setVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules) {
public NetworkRuleSet withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules) {
this.virtualNetworkRules = virtualNetworkRules;
return this;
}
Expand Down
Loading

0 comments on commit 44a4f8e

Please sign in to comment.