Skip to content

Commit

Permalink
Generated from f69510cef189b74f05f0a26e815a096faccbc386
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Sep 10, 2020
1 parent 5733f75 commit 3a823fa
Show file tree
Hide file tree
Showing 98 changed files with 13,073 additions and 1,008 deletions.
6 changes: 4 additions & 2 deletions sdk/eventhubs/mgmt-v2018_01_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<relativePath>../../parents/azure-arm-parent</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-eventhubs</artifactId>
<version>1.0.0-beta</version>
Expand Down Expand Up @@ -71,6 +71,8 @@
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
Expand Down
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();

}
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);
}
}
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);
}

}
}
Loading

0 comments on commit 3a823fa

Please sign in to comment.