Skip to content

Commit 7d15ad5

Browse files
authored
enable model factory (#36531)
1 parent 667b736 commit 7d15ad5

File tree

20 files changed

+2020
-25
lines changed

20 files changed

+2020
-25
lines changed

sdk/dataprotection/Azure.ResourceManager.DataProtectionBackup/CHANGELOG.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# Release History
22

3-
## 1.2.0-beta.1 (Unreleased)
3+
## 1.2.0-beta.1 (2023-05-29)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
7+
- 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).
108

119
### Other Changes
1210

11+
- Upgraded dependent Azure.Core to 1.32.0.
12+
- Upgraded dependent Azure.ResourceManager to 1.6.0.
13+
1314
## 1.1.2 (2023-04-26)
1415

1516
### Breaking Changes

sdk/dataprotection/Azure.ResourceManager.DataProtectionBackup/api/Azure.ResourceManager.DataProtectionBackup.netstandard2.0.cs

Lines changed: 32 additions & 0 deletions
Large diffs are not rendered by default.

sdk/dataprotection/Azure.ResourceManager.DataProtectionBackup/src/Generated/ArmDataProtectionBackupModelFactory.cs

Lines changed: 444 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dataprotection/Azure.ResourceManager.DataProtectionBackup/src/autorest.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Run `dotnet build /t:GenerateCode` to generate code.
55
``` yaml
66

77
azure-arm: true
8-
generate-model-factory: false
98
csharp: true
109
library-name: DataProtectionBackup
1110
namespace: Azure.ResourceManager.DataProtectionBackup

sdk/datashare/Azure.ResourceManager.DataShare/CHANGELOG.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# Release History
22

3-
## 1.1.0-beta.1 (Unreleased)
3+
## 1.1.0-beta.1 (2023-05-29)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
7+
- 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).
108

119
### Other Changes
1210

11+
- Upgraded dependent Azure.Core to 1.32.0.
12+
- Upgraded dependent Azure.ResourceManager to 1.6.0.
13+
1314
## 1.0.1 (2023-02-16)
1415

1516
### Other Changes

sdk/datashare/Azure.ResourceManager.DataShare/api/Azure.ResourceManager.DataShare.netstandard2.0.cs

Lines changed: 48 additions & 0 deletions
Large diffs are not rendered by default.

sdk/datashare/Azure.ResourceManager.DataShare/src/Generated/ArmDataShareModelFactory.cs

Lines changed: 776 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/datashare/Azure.ResourceManager.DataShare/src/autorest.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Run `dotnet build /t:GenerateCode` to generate code.
55
``` yaml
66

77
azure-arm: true
8-
generate-model-factory: false
98
csharp: true
109
library-name: DataShare
1110
namespace: Azure.ResourceManager.DataShare

sdk/deploymentmanager/Azure.ResourceManager.DeploymentManager/CHANGELOG.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# Release History
22

3-
## 1.0.0-beta.3 (Unreleased)
3+
## 1.0.0-beta.3 (2023-05-29)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
7+
- 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).
108

119
### Other Changes
1210

11+
- Upgraded dependent Azure.Core to 1.32.0.
12+
- Upgraded dependent Azure.ResourceManager to 1.6.0.
13+
1314
## 1.0.0-beta.2 (2023-02-16)
1415

1516
### Features Added

sdk/deploymentmanager/Azure.ResourceManager.DeploymentManager/api/Azure.ResourceManager.DeploymentManager.netstandard2.0.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,25 @@ public ApiKeyAuthentication(string name, Azure.ResourceManager.DeploymentManager
294294
public string Name { get { throw null; } set { } }
295295
public string Value { get { throw null; } set { } }
296296
}
297+
public static partial class ArmDeploymentManagerModelFactory
298+
{
299+
public static Azure.ResourceManager.DeploymentManager.ArtifactSourceData ArtifactSourceData(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), string sourceType = null, string artifactRoot = null, Azure.ResourceManager.DeploymentManager.Models.Authentication authentication = null) { throw null; }
300+
public static Azure.ResourceManager.DeploymentManager.Models.Message Message(System.DateTimeOffset? timeStamp = default(System.DateTimeOffset?), string messageValue = null) { throw null; }
301+
public static Azure.ResourceManager.DeploymentManager.Models.ResourceOperation ResourceOperation(string resourceName = null, string operationId = null, string resourceType = null, string provisioningState = null, string statusMessage = null, string statusCode = null) { throw null; }
302+
public static Azure.ResourceManager.DeploymentManager.Models.RolloutCreateOrUpdateContent RolloutCreateOrUpdateContent(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.DeploymentManager.Models.Identity identity = null, string buildVersion = null, string artifactSourceId = null, string targetServiceTopologyId = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeploymentManager.Models.StepGroup> stepGroups = null) { throw null; }
303+
public static Azure.ResourceManager.DeploymentManager.RolloutData RolloutData(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.DeploymentManager.Models.Identity identity = null, string buildVersion = null, string artifactSourceId = null, string targetServiceTopologyId = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeploymentManager.Models.StepGroup> stepGroups = null, string status = null, int? totalRetryAttempts = default(int?), Azure.ResourceManager.DeploymentManager.Models.RolloutOperationInfo operationInfo = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeploymentManager.Models.Service> services = null) { throw null; }
304+
public static Azure.ResourceManager.DeploymentManager.Models.RolloutOperationInfo RolloutOperationInfo(int? retryAttempt = default(int?), bool? skipSucceededOnRetry = default(bool?), System.DateTimeOffset? startOn = default(System.DateTimeOffset?), System.DateTimeOffset? endOn = default(System.DateTimeOffset?), Azure.ResponseError error = null) { throw null; }
305+
public static Azure.ResourceManager.DeploymentManager.Models.RolloutStep RolloutStep(string name = null, string status = null, string stepGroup = null, Azure.ResourceManager.DeploymentManager.Models.StepOperationInfo operationInfo = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeploymentManager.Models.ResourceOperation> resourceOperations = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeploymentManager.Models.Message> messages = null) { throw null; }
306+
public static Azure.ResourceManager.DeploymentManager.Models.Service Service(string targetLocation = null, string targetSubscriptionId = null, string name = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeploymentManager.Models.ServiceUnit> serviceUnits = null) { throw null; }
307+
public static Azure.ResourceManager.DeploymentManager.Models.ServiceProperties ServiceProperties(string targetLocation = null, string targetSubscriptionId = null) { throw null; }
308+
public static Azure.ResourceManager.DeploymentManager.ServiceResourceData ServiceResourceData(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), string targetLocation = null, string targetSubscriptionId = null) { throw null; }
309+
public static Azure.ResourceManager.DeploymentManager.ServiceTopologyResourceData ServiceTopologyResourceData(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), string artifactSourceId = null) { throw null; }
310+
public static Azure.ResourceManager.DeploymentManager.Models.ServiceUnit ServiceUnit(string targetResourceGroup = null, Azure.ResourceManager.DeploymentManager.Models.DeploymentMode deploymentMode = Azure.ResourceManager.DeploymentManager.Models.DeploymentMode.Incremental, Azure.ResourceManager.DeploymentManager.Models.ServiceUnitArtifacts artifacts = null, string name = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeploymentManager.Models.RolloutStep> steps = null) { throw null; }
311+
public static Azure.ResourceManager.DeploymentManager.Models.ServiceUnitProperties ServiceUnitProperties(string targetResourceGroup = null, Azure.ResourceManager.DeploymentManager.Models.DeploymentMode deploymentMode = Azure.ResourceManager.DeploymentManager.Models.DeploymentMode.Incremental, Azure.ResourceManager.DeploymentManager.Models.ServiceUnitArtifacts artifacts = null) { throw null; }
312+
public static Azure.ResourceManager.DeploymentManager.ServiceUnitResourceData ServiceUnitResourceData(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), string targetResourceGroup = null, Azure.ResourceManager.DeploymentManager.Models.DeploymentMode deploymentMode = Azure.ResourceManager.DeploymentManager.Models.DeploymentMode.Incremental, Azure.ResourceManager.DeploymentManager.Models.ServiceUnitArtifacts artifacts = null) { throw null; }
313+
public static Azure.ResourceManager.DeploymentManager.Models.StepOperationInfo StepOperationInfo(string deploymentName = null, string correlationId = null, System.DateTimeOffset? startOn = default(System.DateTimeOffset?), System.DateTimeOffset? endOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastUpdatedOn = default(System.DateTimeOffset?), Azure.ResponseError error = null) { throw null; }
314+
public static Azure.ResourceManager.DeploymentManager.StepResourceData StepResourceData(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.DeploymentManager.Models.StepProperties properties = null) { throw null; }
315+
}
297316
public abstract partial class Authentication
298317
{
299318
protected Authentication() { }

0 commit comments

Comments
 (0)