forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from eeaf23de0e0cfc66ceb8f35f6b0debd90270dfdb
- Loading branch information
SDK Automation
committed
Sep 10, 2020
1 parent
5733f75
commit 3b4964a
Showing
98 changed files
with
13,073 additions
and
1,008 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
...rc/main/java/com/microsoft/azure/management/eventhubs/v2018_01_01_preview/AccessKeys.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/** | ||
* 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.eventhubs.v2018_01_01_preview; | ||
|
||
import com.microsoft.azure.arm.model.HasInner; | ||
import com.microsoft.azure.arm.resources.models.HasManager; | ||
import com.microsoft.azure.management.eventhubs.v2018_01_01_preview.implementation.EventHubsManager; | ||
import com.microsoft.azure.management.eventhubs.v2018_01_01_preview.implementation.AccessKeysInner; | ||
|
||
/** | ||
* Type representing AccessKeys. | ||
*/ | ||
public interface AccessKeys extends HasInner<AccessKeysInner>, HasManager<EventHubsManager> { | ||
/** | ||
* @return the aliasPrimaryConnectionString value. | ||
*/ | ||
String aliasPrimaryConnectionString(); | ||
|
||
/** | ||
* @return the aliasSecondaryConnectionString value. | ||
*/ | ||
String aliasSecondaryConnectionString(); | ||
|
||
/** | ||
* @return the keyName value. | ||
*/ | ||
String keyName(); | ||
|
||
/** | ||
* @return the primaryConnectionString value. | ||
*/ | ||
String primaryConnectionString(); | ||
|
||
/** | ||
* @return the primaryKey value. | ||
*/ | ||
String primaryKey(); | ||
|
||
/** | ||
* @return the secondaryConnectionString value. | ||
*/ | ||
String secondaryConnectionString(); | ||
|
||
/** | ||
* @return the secondaryKey value. | ||
*/ | ||
String secondaryKey(); | ||
|
||
} |
44 changes: 44 additions & 0 deletions
44
.../main/java/com/microsoft/azure/management/eventhubs/v2018_01_01_preview/AccessRights.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/** | ||
* 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.eventhubs.v2018_01_01_preview; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for AccessRights. | ||
*/ | ||
public final class AccessRights extends ExpandableStringEnum<AccessRights> { | ||
/** Static value Manage for AccessRights. */ | ||
public static final AccessRights MANAGE = fromString("Manage"); | ||
|
||
/** Static value Send for AccessRights. */ | ||
public static final AccessRights SEND = fromString("Send"); | ||
|
||
/** Static value Listen for AccessRights. */ | ||
public static final AccessRights LISTEN = fromString("Listen"); | ||
|
||
/** | ||
* Creates or finds a AccessRights from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding AccessRights | ||
*/ | ||
@JsonCreator | ||
public static AccessRights fromString(String name) { | ||
return fromString(name, AccessRights.class); | ||
} | ||
|
||
/** | ||
* @return known AccessRights values | ||
*/ | ||
public static Collection<AccessRights> values() { | ||
return values(AccessRights.class); | ||
} | ||
} |
161 changes: 161 additions & 0 deletions
161
...ava/com/microsoft/azure/management/eventhubs/v2018_01_01_preview/ArmDisasterRecovery.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
/** | ||
* 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.eventhubs.v2018_01_01_preview; | ||
|
||
import com.microsoft.azure.arm.model.HasInner; | ||
import com.microsoft.azure.management.eventhubs.v2018_01_01_preview.implementation.ArmDisasterRecoveryInner; | ||
import com.microsoft.azure.arm.model.Indexable; | ||
import com.microsoft.azure.arm.model.Refreshable; | ||
import com.microsoft.azure.arm.model.Updatable; | ||
import com.microsoft.azure.arm.model.Appliable; | ||
import com.microsoft.azure.arm.model.Creatable; | ||
import com.microsoft.azure.arm.resources.models.HasManager; | ||
import com.microsoft.azure.management.eventhubs.v2018_01_01_preview.implementation.EventHubsManager; | ||
|
||
/** | ||
* Type representing ArmDisasterRecovery. | ||
*/ | ||
public interface ArmDisasterRecovery extends HasInner<ArmDisasterRecoveryInner>, Indexable, Refreshable<ArmDisasterRecovery>, Updatable<ArmDisasterRecovery.Update>, HasManager<EventHubsManager> { | ||
/** | ||
* @return the alternateName value. | ||
*/ | ||
String alternateName(); | ||
|
||
/** | ||
* @return the id value. | ||
*/ | ||
String id(); | ||
|
||
/** | ||
* @return the name value. | ||
*/ | ||
String name(); | ||
|
||
/** | ||
* @return the partnerNamespace value. | ||
*/ | ||
String partnerNamespace(); | ||
|
||
/** | ||
* @return the pendingReplicationOperationsCount value. | ||
*/ | ||
Long pendingReplicationOperationsCount(); | ||
|
||
/** | ||
* @return the provisioningState value. | ||
*/ | ||
ProvisioningStateDR provisioningState(); | ||
|
||
/** | ||
* @return the role value. | ||
*/ | ||
RoleDisasterRecovery role(); | ||
|
||
/** | ||
* @return the type value. | ||
*/ | ||
String type(); | ||
|
||
/** | ||
* The entirety of the ArmDisasterRecovery definition. | ||
*/ | ||
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithNamespace, DefinitionStages.WithCreate { | ||
} | ||
|
||
/** | ||
* Grouping of ArmDisasterRecovery definition stages. | ||
*/ | ||
interface DefinitionStages { | ||
/** | ||
* The first stage of a ArmDisasterRecovery definition. | ||
*/ | ||
interface Blank extends WithNamespace { | ||
} | ||
|
||
/** | ||
* The stage of the armdisasterrecovery definition allowing to specify Namespace. | ||
*/ | ||
interface WithNamespace { | ||
/** | ||
* Specifies resourceGroupName, namespaceName. | ||
* @param resourceGroupName Name of the resource group within the azure subscription | ||
* @param namespaceName The Namespace name | ||
* @return the next definition stage | ||
*/ | ||
WithCreate withExistingNamespace(String resourceGroupName, String namespaceName); | ||
} | ||
|
||
/** | ||
* The stage of the armdisasterrecovery definition allowing to specify AlternateName. | ||
*/ | ||
interface WithAlternateName { | ||
/** | ||
* Specifies alternateName. | ||
* @param alternateName Alternate name specified when alias and namespace names are same | ||
* @return the next definition stage | ||
*/ | ||
WithCreate withAlternateName(String alternateName); | ||
} | ||
|
||
/** | ||
* The stage of the armdisasterrecovery definition allowing to specify PartnerNamespace. | ||
*/ | ||
interface WithPartnerNamespace { | ||
/** | ||
* Specifies partnerNamespace. | ||
* @param partnerNamespace ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing | ||
* @return the next definition stage | ||
*/ | ||
WithCreate withPartnerNamespace(String partnerNamespace); | ||
} | ||
|
||
/** | ||
* The stage of the definition which contains all the minimum required inputs for | ||
* the resource to be created (via {@link WithCreate#create()}), but also allows | ||
* for any other optional settings to be specified. | ||
*/ | ||
interface WithCreate extends Creatable<ArmDisasterRecovery>, DefinitionStages.WithAlternateName, DefinitionStages.WithPartnerNamespace { | ||
} | ||
} | ||
/** | ||
* The template for a ArmDisasterRecovery update operation, containing all the settings that can be modified. | ||
*/ | ||
interface Update extends Appliable<ArmDisasterRecovery>, UpdateStages.WithAlternateName, UpdateStages.WithPartnerNamespace { | ||
} | ||
|
||
/** | ||
* Grouping of ArmDisasterRecovery update stages. | ||
*/ | ||
interface UpdateStages { | ||
/** | ||
* The stage of the armdisasterrecovery update allowing to specify AlternateName. | ||
*/ | ||
interface WithAlternateName { | ||
/** | ||
* Specifies alternateName. | ||
* @param alternateName Alternate name specified when alias and namespace names are same | ||
* @return the next update stage | ||
*/ | ||
Update withAlternateName(String alternateName); | ||
} | ||
|
||
/** | ||
* The stage of the armdisasterrecovery update allowing to specify PartnerNamespace. | ||
*/ | ||
interface WithPartnerNamespace { | ||
/** | ||
* Specifies partnerNamespace. | ||
* @param partnerNamespace ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing | ||
* @return the next update stage | ||
*/ | ||
Update withPartnerNamespace(String partnerNamespace); | ||
} | ||
|
||
} | ||
} |
Oops, something went wrong.