Skip to content

Commit

Permalink
Introduce model factory to mgmt SDK batch 3 (#36500)
Browse files Browse the repository at this point in the history
* enable model factory

* do not need release hci

* update
  • Loading branch information
dvbb authored May 29, 2023
1 parent dc6acd7 commit 2818fe6
Show file tree
Hide file tree
Showing 20 changed files with 2,615 additions and 25 deletions.
9 changes: 5 additions & 4 deletions sdk/automanage/Azure.ResourceManager.Automanage/CHANGELOG.md
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-25)

### 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.0 (2023-02-21)

This is the first stable release of the Azure Automanage management library.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,16 @@ protected AutomanageVmConfigurationProfileAssignmentResource() { }
}
namespace Azure.ResourceManager.Automanage.Models
{
public static partial class ArmAutomanageModelFactory
{
public static Azure.ResourceManager.Automanage.AutomanageBestPracticeData AutomanageBestPracticeData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.BinaryData configuration = null) { throw null; }
public static Azure.ResourceManager.Automanage.AutomanageConfigurationProfileAssignmentData AutomanageConfigurationProfileAssignmentData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Automanage.Models.AutomanageConfigurationProfileAssignmentProperties properties = null, string managedBy = null) { throw null; }
public static Azure.ResourceManager.Automanage.Models.AutomanageConfigurationProfileAssignmentProperties AutomanageConfigurationProfileAssignmentProperties(Azure.Core.ResourceIdentifier configurationProfile = null, Azure.Core.ResourceIdentifier targetId = null, string status = null) { throw null; }
public static Azure.ResourceManager.Automanage.AutomanageConfigurationProfileAssignmentReportData AutomanageConfigurationProfileAssignmentReportData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.DateTimeOffset? startOn = default(System.DateTimeOffset?), System.DateTimeOffset? endOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastModifiedOn = default(System.DateTimeOffset?), System.TimeSpan? duration = default(System.TimeSpan?), string configurationProfileAssignmentProcessingType = null, string status = null, string configurationProfile = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Automanage.Models.ConfigurationProfileAssignmentReportResourceDetails> resources = null, Azure.ResponseError error = null, string reportFormatVersion = null) { throw null; }
public static Azure.ResourceManager.Automanage.AutomanageConfigurationProfileData AutomanageConfigurationProfileData(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), System.BinaryData configuration = null) { throw null; }
public static Azure.ResourceManager.Automanage.Models.AutomanageServicePrincipalData AutomanageServicePrincipalData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string servicePrincipalId = null, bool? isAuthorizationSet = default(bool?)) { throw null; }
public static Azure.ResourceManager.Automanage.Models.ConfigurationProfileAssignmentReportResourceDetails ConfigurationProfileAssignmentReportResourceDetails(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string status = null, Azure.ResponseError error = null) { throw null; }
}
public partial class AutomanageConfigurationProfileAssignmentProperties
{
public AutomanageConfigurationProfileAssignmentProperties() { }
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Run `dotnet build /t:GenerateCode` to generate code.
``` yaml
azure-arm: true
generate-model-factory: false
csharp: true
library-name: Automanage
namespace: Azure.ResourceManager.Automanage
Expand Down
8 changes: 5 additions & 3 deletions sdk/automation/Azure.ResourceManager.Automation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
# Release History

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

### Features Added

- 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).
- Added `AutomationCertificateData.ThumbprintString`, `AutomationCertificateCreateOrUpdateContent.ThumbprintString` to return the hexadecimal string representation of the SHA-1 hash of the certificate.
`AutomationCertificateData.Thumbprint`, `AutomationCertificateCreateOrUpdateContent.Thumbprint` have been hidden but are still available.

### Breaking Changes

### Bugs Fixed

- Fixed an issue that `System.UriFormatException` is thrown when `Uri` type field is empty during serialization of `AutomationWebhookData`.

### Other Changes

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

## 1.0.1 (2023-02-14)

### Bugs Fixed
Expand Down
Loading

0 comments on commit 2818fe6

Please sign in to comment.