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

Introduce model factory to mgmt SDK batch 23 #36588

Merged
merged 1 commit into from
May 29, 2023
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
@@ -1,15 +1,16 @@
# Release History

## 1.1.0-beta.1 (Unreleased)
## 1.1.0-beta.1 (2023-05-31)

### Features Added

### Breaking Changes

### Bugs Fixed
- Enable the model factory feature for model mocking, more information can be found [here](https://azure.github.io/azure-sdk/dotnet_introduction.html#dotnet-mocking-factory-builder).

### Other Changes

- Upgraded dependent Azure.Core to 1.32.0.
- Upgraded dependent Azure.ResourceManager to 1.6.0.

## 1.0.1 (2023-02-17)

### Other Changes
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Run `dotnet build /t:GenerateCode` to generate code.
``` yaml

azure-arm: true
generate-model-factory: false
csharp: true
library-name: SecurityInsights
namespace: Azure.ResourceManager.SecurityInsights
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Release History

## 1.1.0-beta.3 (Unreleased)
## 1.1.0-beta.3 (2023-05-31)

### Features Added

### Breaking Changes

### Bugs Fixed
- Enable the model factory feature for model mocking, more information can be found [here](https://azure.github.io/azure-sdk/dotnet_introduction.html#dotnet-mocking-factory-builder).

### Other Changes

- Upgraded dependent Azure.Core to 1.32.0.
- Upgraded dependent Azure.ResourceManager to 1.6.0.

## 1.1.0-beta.2 (2023-02-14)

### Other Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,24 @@ protected ServiceBusTopicResource() { }
}
namespace Azure.ResourceManager.ServiceBus.Models
{
public static partial class ArmServiceBusModelFactory
{
public static Azure.ResourceManager.ServiceBus.Models.MessageCountDetails MessageCountDetails(long? activeMessageCount = default(long?), long? deadLetterMessageCount = default(long?), long? scheduledMessageCount = default(long?), long? transferMessageCount = default(long?), long? transferDeadLetterMessageCount = default(long?)) { throw null; }
public static Azure.ResourceManager.ServiceBus.MigrationConfigurationData MigrationConfigurationData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string provisioningState = null, long? pendingReplicationOperationsCount = default(long?), Azure.Core.ResourceIdentifier targetServiceBusNamespace = null, string postMigrationName = null, string migrationState = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?)) { throw null; }
public static Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys ServiceBusAccessKeys(string primaryConnectionString = null, string secondaryConnectionString = null, string aliasPrimaryConnectionString = null, string aliasSecondaryConnectionString = null, string primaryKey = null, string secondaryKey = null, string keyName = null) { throw null; }
public static Azure.ResourceManager.ServiceBus.ServiceBusAuthorizationRuleData ServiceBusAuthorizationRuleData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessRight> rights = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?)) { throw null; }
public static Azure.ResourceManager.ServiceBus.ServiceBusDisasterRecoveryData ServiceBusDisasterRecoveryData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.ServiceBus.Models.ServiceBusDisasterRecoveryProvisioningState? provisioningState = default(Azure.ResourceManager.ServiceBus.Models.ServiceBusDisasterRecoveryProvisioningState?), long? pendingReplicationOperationsCount = default(long?), string partnerNamespace = null, string alternateName = null, Azure.ResourceManager.ServiceBus.Models.ServiceBusDisasterRecoveryRole? role = default(Azure.ResourceManager.ServiceBus.Models.ServiceBusDisasterRecoveryRole?), Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?)) { throw null; }
public static Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityResult ServiceBusNameAvailabilityResult(string message = null, bool? isNameAvailable = default(bool?), Azure.ResourceManager.ServiceBus.Models.ServiceBusNameUnavailableReason? reason = default(Azure.ResourceManager.ServiceBus.Models.ServiceBusNameUnavailableReason?)) { throw null; }
public static Azure.ResourceManager.ServiceBus.ServiceBusNamespaceData ServiceBusNamespaceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary<string, string> tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.ServiceBus.Models.ServiceBusSku sku = null, Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, Azure.ResourceManager.ServiceBus.Models.ServiceBusMinimumTlsVersion? minimumTlsVersion = default(Azure.ResourceManager.ServiceBus.Models.ServiceBusMinimumTlsVersion?), string provisioningState = null, string status = null, System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), System.DateTimeOffset? updatedOn = default(System.DateTimeOffset?), string serviceBusEndpoint = null, string metricId = null, bool? isZoneRedundant = default(bool?), Azure.ResourceManager.ServiceBus.Models.ServiceBusEncryption encryption = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceBus.ServiceBusPrivateEndpointConnectionData> privateEndpointConnections = null, bool? disableLocalAuth = default(bool?), string alternateName = null, Azure.ResourceManager.ServiceBus.Models.ServiceBusPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.ServiceBus.Models.ServiceBusPublicNetworkAccess?), int? premiumMessagingPartitions = default(int?)) { throw null; }
public static Azure.ResourceManager.ServiceBus.Models.ServiceBusNamespacePatch ServiceBusNamespacePatch(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary<string, string> tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.ServiceBus.Models.ServiceBusSku sku = null, Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, string provisioningState = null, string status = null, System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), System.DateTimeOffset? updatedOn = default(System.DateTimeOffset?), string serviceBusEndpoint = null, string metricId = null, Azure.ResourceManager.ServiceBus.Models.ServiceBusEncryption encryption = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceBus.ServiceBusPrivateEndpointConnectionData> privateEndpointConnections = null, bool? disableLocalAuth = default(bool?), string alternateName = null) { throw null; }
public static Azure.ResourceManager.ServiceBus.ServiceBusNetworkRuleSetData ServiceBusNetworkRuleSetData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, bool? isTrustedServiceAccessEnabled = default(bool?), Azure.ResourceManager.ServiceBus.Models.ServiceBusNetworkRuleSetDefaultAction? defaultAction = default(Azure.ResourceManager.ServiceBus.Models.ServiceBusNetworkRuleSetDefaultAction?), System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceBus.Models.ServiceBusNetworkRuleSetVirtualNetworkRules> virtualNetworkRules = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceBus.Models.ServiceBusNetworkRuleSetIPRules> ipRules = null, Azure.ResourceManager.ServiceBus.Models.ServiceBusPublicNetworkAccessFlag? publicNetworkAccess = default(Azure.ResourceManager.ServiceBus.Models.ServiceBusPublicNetworkAccessFlag?), Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?)) { throw null; }
public static Azure.ResourceManager.ServiceBus.ServiceBusPrivateEndpointConnectionData ServiceBusPrivateEndpointConnectionData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.Core.ResourceIdentifier privateEndpointId = null, Azure.ResourceManager.ServiceBus.Models.ServiceBusPrivateLinkServiceConnectionState connectionState = null, Azure.ResourceManager.ServiceBus.Models.ServiceBusPrivateEndpointConnectionProvisioningState? provisioningState = default(Azure.ResourceManager.ServiceBus.Models.ServiceBusPrivateEndpointConnectionProvisioningState?), Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?)) { throw null; }
public static Azure.ResourceManager.ServiceBus.Models.ServiceBusPrivateLinkResource ServiceBusPrivateLinkResource(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string groupId = null, System.Collections.Generic.IEnumerable<string> requiredMembers = null, System.Collections.Generic.IEnumerable<string> requiredZoneNames = null) { throw null; }
public static Azure.ResourceManager.ServiceBus.ServiceBusQueueData ServiceBusQueueData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.ServiceBus.Models.MessageCountDetails countDetails = null, System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), System.DateTimeOffset? updatedOn = default(System.DateTimeOffset?), System.DateTimeOffset? accessedOn = default(System.DateTimeOffset?), long? sizeInBytes = default(long?), long? messageCount = default(long?), System.TimeSpan? lockDuration = default(System.TimeSpan?), int? maxSizeInMegabytes = default(int?), long? maxMessageSizeInKilobytes = default(long?), bool? requiresDuplicateDetection = default(bool?), bool? requiresSession = default(bool?), System.TimeSpan? defaultMessageTimeToLive = default(System.TimeSpan?), bool? deadLetteringOnMessageExpiration = default(bool?), System.TimeSpan? duplicateDetectionHistoryTimeWindow = default(System.TimeSpan?), int? maxDeliveryCount = default(int?), Azure.ResourceManager.ServiceBus.Models.ServiceBusMessagingEntityStatus? status = default(Azure.ResourceManager.ServiceBus.Models.ServiceBusMessagingEntityStatus?), bool? enableBatchedOperations = default(bool?), System.TimeSpan? autoDeleteOnIdle = default(System.TimeSpan?), bool? enablePartitioning = default(bool?), bool? enableExpress = default(bool?), string forwardTo = null, string forwardDeadLetteredMessagesTo = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?)) { throw null; }
public static Azure.ResourceManager.ServiceBus.ServiceBusRuleData ServiceBusRuleData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.ServiceBus.Models.ServiceBusFilterAction action = null, Azure.ResourceManager.ServiceBus.Models.ServiceBusFilterType? filterType = default(Azure.ResourceManager.ServiceBus.Models.ServiceBusFilterType?), Azure.ResourceManager.ServiceBus.Models.ServiceBusSqlFilter sqlFilter = null, Azure.ResourceManager.ServiceBus.Models.ServiceBusCorrelationFilter correlationFilter = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?)) { throw null; }
public static Azure.ResourceManager.ServiceBus.ServiceBusSubscriptionData ServiceBusSubscriptionData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, long? messageCount = default(long?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), System.DateTimeOffset? accessedOn = default(System.DateTimeOffset?), System.DateTimeOffset? updatedOn = default(System.DateTimeOffset?), Azure.ResourceManager.ServiceBus.Models.MessageCountDetails countDetails = null, System.TimeSpan? lockDuration = default(System.TimeSpan?), bool? requiresSession = default(bool?), System.TimeSpan? defaultMessageTimeToLive = default(System.TimeSpan?), bool? deadLetteringOnFilterEvaluationExceptions = default(bool?), bool? deadLetteringOnMessageExpiration = default(bool?), System.TimeSpan? duplicateDetectionHistoryTimeWindow = default(System.TimeSpan?), int? maxDeliveryCount = default(int?), Azure.ResourceManager.ServiceBus.Models.ServiceBusMessagingEntityStatus? status = default(Azure.ResourceManager.ServiceBus.Models.ServiceBusMessagingEntityStatus?), bool? enableBatchedOperations = default(bool?), System.TimeSpan? autoDeleteOnIdle = default(System.TimeSpan?), string forwardTo = null, string forwardDeadLetteredMessagesTo = null, bool? isClientAffine = default(bool?), Azure.ResourceManager.ServiceBus.Models.ServiceBusClientAffineProperties clientAffineProperties = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?)) { throw null; }
public static Azure.ResourceManager.ServiceBus.ServiceBusTopicData ServiceBusTopicData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, long? sizeInBytes = default(long?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), System.DateTimeOffset? updatedOn = default(System.DateTimeOffset?), System.DateTimeOffset? accessedOn = default(System.DateTimeOffset?), int? subscriptionCount = default(int?), Azure.ResourceManager.ServiceBus.Models.MessageCountDetails countDetails = null, System.TimeSpan? defaultMessageTimeToLive = default(System.TimeSpan?), int? maxSizeInMegabytes = default(int?), long? maxMessageSizeInKilobytes = default(long?), bool? requiresDuplicateDetection = default(bool?), System.TimeSpan? duplicateDetectionHistoryTimeWindow = default(System.TimeSpan?), bool? enableBatchedOperations = default(bool?), Azure.ResourceManager.ServiceBus.Models.ServiceBusMessagingEntityStatus? status = default(Azure.ResourceManager.ServiceBus.Models.ServiceBusMessagingEntityStatus?), bool? supportOrdering = default(bool?), System.TimeSpan? autoDeleteOnIdle = default(System.TimeSpan?), bool? enablePartitioning = default(bool?), bool? enableExpress = default(bool?), Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?)) { throw null; }
}
public partial class FailoverProperties
{
public FailoverProperties() { }
Expand Down
Loading