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 eventhub/resource-manager] EventHub: Removed space from pendingReplicationOperationsCount #2159

Merged
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class ArmDisasterRecoveryInner extends ProxyResource {
/**
* Number of entities pending to be replicated.
*/
@JsonProperty(value = "properties.pendingReplicationOperationsCount ", access = JsonProperty.Access.WRITE_ONLY)
@JsonProperty(value = "properties.pendingReplicationOperationsCount", access = JsonProperty.Access.WRITE_ONLY)
private Long pendingReplicationOperationsCount;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,219 @@
/**
* 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.eventhub.v2018_01_01_preview;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.Resource;
import com.microsoft.azure.arm.resources.models.GroupableResourceCore;
import com.microsoft.azure.arm.resources.models.HasResourceGroup;
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.eventhub.v2018_01_01_preview.implementation.EventHubManager;
import org.joda.time.DateTime;
import com.microsoft.azure.management.eventhub.v2018_01_01_preview.implementation.EHNamespaceInner;

/**
* Type representing EHNamespace.
*/
public interface EHNamespace extends HasInner<EHNamespaceInner>, Resource, GroupableResourceCore<EventHubManager, EHNamespaceInner>, HasResourceGroup, Refreshable<EHNamespace>, Updatable<EHNamespace.Update>, HasManager<EventHubManager> {
/**
* @return the createdAt value.
*/
DateTime createdAt();

/**
* @return the isAutoInflateEnabled value.
*/
Boolean isAutoInflateEnabled();

/**
* @return the kafkaEnabled value.
*/
Boolean kafkaEnabled();

/**
* @return the maximumThroughputUnits value.
*/
Integer maximumThroughputUnits();

/**
* @return the metricId value.
*/
String metricId();

/**
* @return the provisioningState value.
*/
String provisioningState();

/**
* @return the serviceBusEndpoint value.
*/
String serviceBusEndpoint();

/**
* @return the sku value.
*/
Sku sku();

/**
* @return the updatedAt value.
*/
DateTime updatedAt();

/**
* @return the zoneRedundant value.
*/
Boolean zoneRedundant();

/**
* The entirety of the EHNamespace definition.
*/
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, DefinitionStages.WithCreate {
}

/**
* Grouping of EHNamespace definition stages.
*/
interface DefinitionStages {
/**
* The first stage of a EHNamespace definition.
*/
interface Blank extends GroupableResourceCore.DefinitionWithRegion<WithGroup> {
}

/**
* The stage of the EHNamespace definition allowing to specify the resource group.
*/
interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<WithCreate> {
}

/**
* The stage of the ehnamespace update allowing to specify IsAutoInflateEnabled.
*/
interface WithIsAutoInflateEnabled {
/**
* Specifies isAutoInflateEnabled.
*/
WithCreate withIsAutoInflateEnabled(Boolean isAutoInflateEnabled);
}

/**
* The stage of the ehnamespace update allowing to specify KafkaEnabled.
*/
interface WithKafkaEnabled {
/**
* Specifies kafkaEnabled.
*/
WithCreate withKafkaEnabled(Boolean kafkaEnabled);
}

/**
* The stage of the ehnamespace update allowing to specify MaximumThroughputUnits.
*/
interface WithMaximumThroughputUnits {
/**
* Specifies maximumThroughputUnits.
*/
WithCreate withMaximumThroughputUnits(Integer maximumThroughputUnits);
}

/**
* The stage of the ehnamespace update allowing to specify Sku.
*/
interface WithSku {
/**
* Specifies sku.
*/
WithCreate withSku(Sku sku);
}

/**
* The stage of the ehnamespace update allowing to specify ZoneRedundant.
*/
interface WithZoneRedundant {
/**
* Specifies zoneRedundant.
*/
WithCreate withZoneRedundant(Boolean zoneRedundant);
}

/**
* 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<EHNamespace>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithIsAutoInflateEnabled, DefinitionStages.WithKafkaEnabled, DefinitionStages.WithMaximumThroughputUnits, DefinitionStages.WithSku, DefinitionStages.WithZoneRedundant {
}
}
/**
* The template for a EHNamespace update operation, containing all the settings that can be modified.
*/
interface Update extends Appliable<EHNamespace>, Resource.UpdateWithTags<Update>, UpdateStages.WithIsAutoInflateEnabled, UpdateStages.WithKafkaEnabled, UpdateStages.WithMaximumThroughputUnits, UpdateStages.WithSku, UpdateStages.WithZoneRedundant {
}

/**
* Grouping of EHNamespace update stages.
*/
interface UpdateStages {
/**
* The stage of the ehnamespace {0} allowing to specify IsAutoInflateEnabled.
*/
interface WithIsAutoInflateEnabled {
/**
* Specifies isAutoInflateEnabled.
*/
Update withIsAutoInflateEnabled(Boolean isAutoInflateEnabled);
}

/**
* The stage of the ehnamespace {0} allowing to specify KafkaEnabled.
*/
interface WithKafkaEnabled {
/**
* Specifies kafkaEnabled.
*/
Update withKafkaEnabled(Boolean kafkaEnabled);
}

/**
* The stage of the ehnamespace {0} allowing to specify MaximumThroughputUnits.
*/
interface WithMaximumThroughputUnits {
/**
* Specifies maximumThroughputUnits.
*/
Update withMaximumThroughputUnits(Integer maximumThroughputUnits);
}

/**
* The stage of the ehnamespace {0} allowing to specify Sku.
*/
interface WithSku {
/**
* Specifies sku.
*/
Update withSku(Sku sku);
}

/**
* The stage of the ehnamespace {0} allowing to specify ZoneRedundant.
*/
interface WithZoneRedundant {
/**
* Specifies zoneRedundant.
*/
Update withZoneRedundant(Boolean zoneRedundant);
}

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

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
* Defines values for IPAction.
*/
public final class IPAction extends ExpandableStringEnum<IPAction> {
/** Static value Accept for IPAction. */
public static final IPAction ACCEPT = fromString("Accept");

/** Static value Reject for IPAction. */
public static final IPAction REJECT = fromString("Reject");

/**
* Creates or finds a IPAction from its string representation.
* @param name a name to look for
* @return the corresponding IPAction
*/
@JsonCreator
public static IPAction fromString(String name) {
return fromString(name, IPAction.class);
}

/**
* @return known IPAction values
*/
public static Collection<IPAction> values() {
return values(IPAction.class);
}
}
Loading