Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR sdk/servicebus/mgmt-v2018_01_01_preview] update cli readme per change in clicommon #2292

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/servicebus/mgmt-v2018_01_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-servicebus</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/**
* 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.servicebus.v2018_01_01_preview;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Properties to configure Encryption.
*/
public class Encryption {
/**
* Properties of KeyVault.
*/
@JsonProperty(value = "keyVaultProperties")
private KeyVaultProperties keyVaultProperties;

/**
* Enumerates the possible value of keySource for Encryption. Possible
* values include: 'Microsoft.KeyVault'.
*/
@JsonProperty(value = "keySource")
private KeySource keySource;

/**
* Get properties of KeyVault.
*
* @return the keyVaultProperties value
*/
public KeyVaultProperties keyVaultProperties() {
return this.keyVaultProperties;
}

/**
* Set properties of KeyVault.
*
* @param keyVaultProperties the keyVaultProperties value to set
* @return the Encryption object itself.
*/
public Encryption withKeyVaultProperties(KeyVaultProperties keyVaultProperties) {
this.keyVaultProperties = keyVaultProperties;
return this;
}

/**
* Get enumerates the possible value of keySource for Encryption. Possible values include: 'Microsoft.KeyVault'.
*
* @return the keySource value
*/
public KeySource keySource() {
return this.keySource;
}

/**
* Set enumerates the possible value of keySource for Encryption. Possible values include: 'Microsoft.KeyVault'.
*
* @param keySource the keySource value to set
* @return the Encryption object itself.
*/
public Encryption withKeySource(KeySource keySource) {
this.keySource = keySource;
return this;
}

}
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.servicebus.v2018_01_01_preview;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Properties to configure Identity for Bring your Own Keys.
*/
public class Identity {
/**
* ObjectId from the KeyVault.
*/
@JsonProperty(value = "principalId")
private String principalId;

/**
* TenantId from the KeyVault.
*/
@JsonProperty(value = "tenantId")
private String tenantId;

/**
* Enumerates the possible value Identity type, which currently supports
* only 'SystemAssigned'. Possible values include: 'SystemAssigned'.
*/
@JsonProperty(value = "type")
private IdentityType type;

/**
* Get objectId from the KeyVault.
*
* @return the principalId value
*/
public String principalId() {
return this.principalId;
}

/**
* Set objectId from the KeyVault.
*
* @param principalId the principalId value to set
* @return the Identity object itself.
*/
public Identity withPrincipalId(String principalId) {
this.principalId = principalId;
return this;
}

/**
* Get tenantId from the KeyVault.
*
* @return the tenantId value
*/
public String tenantId() {
return this.tenantId;
}

/**
* Set tenantId from the KeyVault.
*
* @param tenantId the tenantId value to set
* @return the Identity object itself.
*/
public Identity withTenantId(String tenantId) {
this.tenantId = tenantId;
return this;
}

/**
* Get enumerates the possible value Identity type, which currently supports only 'SystemAssigned'. Possible values include: 'SystemAssigned'.
*
* @return the type value
*/
public IdentityType type() {
return this.type;
}

/**
* Set enumerates the possible value Identity type, which currently supports only 'SystemAssigned'. Possible values include: 'SystemAssigned'.
*
* @param type the type value to set
* @return the Identity object itself.
*/
public Identity withType(IdentityType type) {
this.type = type;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/**
* 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.servicebus.v2018_01_01_preview;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

/**
* Defines values for IdentityType.
*/
public enum IdentityType {
/** Enum value SystemAssigned. */
SYSTEM_ASSIGNED("SystemAssigned");

/** The actual serialized value for a IdentityType instance. */
private String value;

IdentityType(String value) {
this.value = value;
}

/**
* Parses a serialized value to a IdentityType instance.
*
* @param value the serialized value to parse.
* @return the parsed IdentityType object, or null if unable to parse.
*/
@JsonCreator
public static IdentityType fromString(String value) {
IdentityType[] items = IdentityType.values();
for (IdentityType item : items) {
if (item.toString().equalsIgnoreCase(value)) {
return item;
}
}
return null;
}

@JsonValue
@Override
public String toString() {
return this.value;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/**
* 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.servicebus.v2018_01_01_preview;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

/**
* Defines values for KeySource.
*/
public enum KeySource {
/** Enum value Microsoft.KeyVault. */
MICROSOFT_KEY_VAULT("Microsoft.KeyVault");

/** The actual serialized value for a KeySource instance. */
private String value;

KeySource(String value) {
this.value = value;
}

/**
* Parses a serialized value to a KeySource instance.
*
* @param value the serialized value to parse.
* @return the parsed KeySource object, or null if unable to parse.
*/
@JsonCreator
public static KeySource fromString(String value) {
KeySource[] items = KeySource.values();
for (KeySource item : items) {
if (item.toString().equalsIgnoreCase(value)) {
return item;
}
}
return null;
}

@JsonValue
@Override
public String toString() {
return this.value;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/**
* 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.servicebus.v2018_01_01_preview;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Properties to configure keyVault Properties.
*/
public class KeyVaultProperties {
/**
* Name of the Key from KeyVault.
*/
@JsonProperty(value = "keyName")
private String keyName;

/**
* Uri of KeyVault.
*/
@JsonProperty(value = "keyVaultUri")
private String keyVaultUri;

/**
* Get name of the Key from KeyVault.
*
* @return the keyName value
*/
public String keyName() {
return this.keyName;
}

/**
* Set name of the Key from KeyVault.
*
* @param keyName the keyName value to set
* @return the KeyVaultProperties object itself.
*/
public KeyVaultProperties withKeyName(String keyName) {
this.keyName = keyName;
return this;
}

/**
* Get uri of KeyVault.
*
* @return the keyVaultUri value
*/
public String keyVaultUri() {
return this.keyVaultUri;
}

/**
* Set uri of KeyVault.
*
* @param keyVaultUri the keyVaultUri value to set
* @return the KeyVaultProperties object itself.
*/
public KeyVaultProperties withKeyVaultUri(String keyVaultUri) {
this.keyVaultUri = keyVaultUri;
return this;
}

}
Loading