Skip to content

Commit f734e4a

Browse files
author
SDK Automation
committed
Generated from 29557e94b3ab81cfc02b8b849bc2074409c535ca
1 parent 87831b4 commit f734e4a

File tree

127 files changed

+22300
-946
lines changed

Some content is hidden

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

127 files changed

+22300
-946
lines changed

sdk/servicebus/mgmt-v2018_01_01_preview/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<parent>
1212
<groupId>com.microsoft.azure</groupId>
1313
<artifactId>azure-arm-parent</artifactId>
14-
<version>1.2.0</version>
15-
<relativePath>../../parents/azure-arm-parent</relativePath>
14+
<version>1.1.0</version>
15+
<relativePath>../../../pom.management.xml</relativePath>
1616
</parent>
1717
<artifactId>azure-mgmt-servicebus</artifactId>
1818
<version>1.0.0-beta</version>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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.servicebus.v2018_01_01_preview;
10+
11+
import com.microsoft.azure.arm.model.HasInner;
12+
import com.microsoft.azure.arm.resources.models.HasManager;
13+
import com.microsoft.azure.management.servicebus.v2018_01_01_preview.implementation.ServiceBusManager;
14+
import com.microsoft.azure.management.servicebus.v2018_01_01_preview.implementation.AccessKeysInner;
15+
16+
/**
17+
* Type representing AccessKeys.
18+
*/
19+
public interface AccessKeys extends HasInner<AccessKeysInner>, HasManager<ServiceBusManager> {
20+
/**
21+
* @return the aliasPrimaryConnectionString value.
22+
*/
23+
String aliasPrimaryConnectionString();
24+
25+
/**
26+
* @return the aliasSecondaryConnectionString value.
27+
*/
28+
String aliasSecondaryConnectionString();
29+
30+
/**
31+
* @return the keyName value.
32+
*/
33+
String keyName();
34+
35+
/**
36+
* @return the primaryConnectionString value.
37+
*/
38+
String primaryConnectionString();
39+
40+
/**
41+
* @return the primaryKey value.
42+
*/
43+
String primaryKey();
44+
45+
/**
46+
* @return the secondaryConnectionString value.
47+
*/
48+
String secondaryConnectionString();
49+
50+
/**
51+
* @return the secondaryKey value.
52+
*/
53+
String secondaryKey();
54+
55+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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.servicebus.v2018_01_01_preview;
10+
11+
import com.fasterxml.jackson.annotation.JsonCreator;
12+
import com.fasterxml.jackson.annotation.JsonValue;
13+
14+
/**
15+
* Defines values for AccessRights.
16+
*/
17+
public enum AccessRights {
18+
/** Enum value Manage. */
19+
MANAGE("Manage"),
20+
21+
/** Enum value Send. */
22+
SEND("Send"),
23+
24+
/** Enum value Listen. */
25+
LISTEN("Listen");
26+
27+
/** The actual serialized value for a AccessRights instance. */
28+
private String value;
29+
30+
AccessRights(String value) {
31+
this.value = value;
32+
}
33+
34+
/**
35+
* Parses a serialized value to a AccessRights instance.
36+
*
37+
* @param value the serialized value to parse.
38+
* @return the parsed AccessRights object, or null if unable to parse.
39+
*/
40+
@JsonCreator
41+
public static AccessRights fromString(String value) {
42+
AccessRights[] items = AccessRights.values();
43+
for (AccessRights item : items) {
44+
if (item.toString().equalsIgnoreCase(value)) {
45+
return item;
46+
}
47+
}
48+
return null;
49+
}
50+
51+
@JsonValue
52+
@Override
53+
public String toString() {
54+
return this.value;
55+
}
56+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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.servicebus.v2018_01_01_preview;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* Represents the filter actions which are allowed for the transformation of a
15+
* message that have been matched by a filter expression.
16+
*/
17+
public class Action {
18+
/**
19+
* SQL expression. e.g. MyProperty='ABC'.
20+
*/
21+
@JsonProperty(value = "sqlExpression")
22+
private String sqlExpression;
23+
24+
/**
25+
* This property is reserved for future use. An integer value showing the
26+
* compatibility level, currently hard-coded to 20.
27+
*/
28+
@JsonProperty(value = "compatibilityLevel")
29+
private Integer compatibilityLevel;
30+
31+
/**
32+
* Value that indicates whether the rule action requires preprocessing.
33+
*/
34+
@JsonProperty(value = "requiresPreprocessing")
35+
private Boolean requiresPreprocessing;
36+
37+
/**
38+
* Get sQL expression. e.g. MyProperty='ABC'.
39+
*
40+
* @return the sqlExpression value
41+
*/
42+
public String sqlExpression() {
43+
return this.sqlExpression;
44+
}
45+
46+
/**
47+
* Set sQL expression. e.g. MyProperty='ABC'.
48+
*
49+
* @param sqlExpression the sqlExpression value to set
50+
* @return the Action object itself.
51+
*/
52+
public Action withSqlExpression(String sqlExpression) {
53+
this.sqlExpression = sqlExpression;
54+
return this;
55+
}
56+
57+
/**
58+
* Get this property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
59+
*
60+
* @return the compatibilityLevel value
61+
*/
62+
public Integer compatibilityLevel() {
63+
return this.compatibilityLevel;
64+
}
65+
66+
/**
67+
* Set this property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
68+
*
69+
* @param compatibilityLevel the compatibilityLevel value to set
70+
* @return the Action object itself.
71+
*/
72+
public Action withCompatibilityLevel(Integer compatibilityLevel) {
73+
this.compatibilityLevel = compatibilityLevel;
74+
return this;
75+
}
76+
77+
/**
78+
* Get value that indicates whether the rule action requires preprocessing.
79+
*
80+
* @return the requiresPreprocessing value
81+
*/
82+
public Boolean requiresPreprocessing() {
83+
return this.requiresPreprocessing;
84+
}
85+
86+
/**
87+
* Set value that indicates whether the rule action requires preprocessing.
88+
*
89+
* @param requiresPreprocessing the requiresPreprocessing value to set
90+
* @return the Action object itself.
91+
*/
92+
public Action withRequiresPreprocessing(Boolean requiresPreprocessing) {
93+
this.requiresPreprocessing = requiresPreprocessing;
94+
return this;
95+
}
96+
97+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
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.servicebus.v2018_01_01_preview;
10+
11+
import com.microsoft.azure.arm.model.HasInner;
12+
import com.microsoft.azure.management.servicebus.v2018_01_01_preview.implementation.ArmDisasterRecoveryInner;
13+
import com.microsoft.azure.arm.model.Indexable;
14+
import com.microsoft.azure.arm.model.Refreshable;
15+
import com.microsoft.azure.arm.model.Updatable;
16+
import com.microsoft.azure.arm.model.Appliable;
17+
import com.microsoft.azure.arm.model.Creatable;
18+
import com.microsoft.azure.arm.resources.models.HasManager;
19+
import com.microsoft.azure.management.servicebus.v2018_01_01_preview.implementation.ServiceBusManager;
20+
21+
/**
22+
* Type representing ArmDisasterRecovery.
23+
*/
24+
public interface ArmDisasterRecovery extends HasInner<ArmDisasterRecoveryInner>, Indexable, Refreshable<ArmDisasterRecovery>, Updatable<ArmDisasterRecovery.Update>, HasManager<ServiceBusManager> {
25+
/**
26+
* @return the alternateName value.
27+
*/
28+
String alternateName();
29+
30+
/**
31+
* @return the id value.
32+
*/
33+
String id();
34+
35+
/**
36+
* @return the name value.
37+
*/
38+
String name();
39+
40+
/**
41+
* @return the partnerNamespace value.
42+
*/
43+
String partnerNamespace();
44+
45+
/**
46+
* @return the pendingReplicationOperationsCount value.
47+
*/
48+
Long pendingReplicationOperationsCount();
49+
50+
/**
51+
* @return the provisioningState value.
52+
*/
53+
ProvisioningStateDR provisioningState();
54+
55+
/**
56+
* @return the role value.
57+
*/
58+
RoleDisasterRecovery role();
59+
60+
/**
61+
* @return the type value.
62+
*/
63+
String type();
64+
65+
/**
66+
* The entirety of the ArmDisasterRecovery definition.
67+
*/
68+
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithNamespace, DefinitionStages.WithCreate {
69+
}
70+
71+
/**
72+
* Grouping of ArmDisasterRecovery definition stages.
73+
*/
74+
interface DefinitionStages {
75+
/**
76+
* The first stage of a ArmDisasterRecovery definition.
77+
*/
78+
interface Blank extends WithNamespace {
79+
}
80+
81+
/**
82+
* The stage of the armdisasterrecovery definition allowing to specify Namespace.
83+
*/
84+
interface WithNamespace {
85+
/**
86+
* Specifies resourceGroupName, namespaceName.
87+
* @param resourceGroupName Name of the Resource group within the Azure subscription
88+
* @param namespaceName The namespace name
89+
* @return the next definition stage
90+
*/
91+
WithCreate withExistingNamespace(String resourceGroupName, String namespaceName);
92+
}
93+
94+
/**
95+
* The stage of the armdisasterrecovery definition allowing to specify AlternateName.
96+
*/
97+
interface WithAlternateName {
98+
/**
99+
* Specifies alternateName.
100+
* @param alternateName Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
101+
* @return the next definition stage
102+
*/
103+
WithCreate withAlternateName(String alternateName);
104+
}
105+
106+
/**
107+
* The stage of the armdisasterrecovery definition allowing to specify PartnerNamespace.
108+
*/
109+
interface WithPartnerNamespace {
110+
/**
111+
* Specifies partnerNamespace.
112+
* @param partnerNamespace ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
113+
* @return the next definition stage
114+
*/
115+
WithCreate withPartnerNamespace(String partnerNamespace);
116+
}
117+
118+
/**
119+
* The stage of the definition which contains all the minimum required inputs for
120+
* the resource to be created (via {@link WithCreate#create()}), but also allows
121+
* for any other optional settings to be specified.
122+
*/
123+
interface WithCreate extends Creatable<ArmDisasterRecovery>, DefinitionStages.WithAlternateName, DefinitionStages.WithPartnerNamespace {
124+
}
125+
}
126+
/**
127+
* The template for a ArmDisasterRecovery update operation, containing all the settings that can be modified.
128+
*/
129+
interface Update extends Appliable<ArmDisasterRecovery>, UpdateStages.WithAlternateName, UpdateStages.WithPartnerNamespace {
130+
}
131+
132+
/**
133+
* Grouping of ArmDisasterRecovery update stages.
134+
*/
135+
interface UpdateStages {
136+
/**
137+
* The stage of the armdisasterrecovery update allowing to specify AlternateName.
138+
*/
139+
interface WithAlternateName {
140+
/**
141+
* Specifies alternateName.
142+
* @param alternateName Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
143+
* @return the next update stage
144+
*/
145+
Update withAlternateName(String alternateName);
146+
}
147+
148+
/**
149+
* The stage of the armdisasterrecovery update allowing to specify PartnerNamespace.
150+
*/
151+
interface WithPartnerNamespace {
152+
/**
153+
* Specifies partnerNamespace.
154+
* @param partnerNamespace ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
155+
* @return the next update stage
156+
*/
157+
Update withPartnerNamespace(String partnerNamespace);
158+
}
159+
160+
}
161+
}

0 commit comments

Comments
 (0)