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 13 #36563

Merged
merged 3 commits 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.0.0-beta.3 (Unreleased)
## 1.0.0-beta.3 (2023-05-30)

### 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-beta.2 (2023-02-17)

### Other Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ public static partial class KubernetesExtensions
}
namespace Azure.ResourceManager.Kubernetes.Models
{
public static partial class ArmKubernetesModelFactory
{
public static Azure.ResourceManager.Kubernetes.ConnectedClusterData ConnectedClusterData(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.Models.ManagedServiceIdentity identity = null, string agentPublicKeyCertificate = null, string kubernetesVersion = null, int? totalNodeCount = default(int?), int? totalCoreCount = default(int?), string agentVersion = null, Azure.ResourceManager.Kubernetes.Models.ProvisioningState? provisioningState = default(Azure.ResourceManager.Kubernetes.Models.ProvisioningState?), string distribution = null, string infrastructure = null, string offering = null, System.DateTimeOffset? managedIdentityCertificateExpirationOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastConnectivityOn = default(System.DateTimeOffset?), Azure.ResourceManager.Kubernetes.Models.ConnectivityStatus? connectivityStatus = default(Azure.ResourceManager.Kubernetes.Models.ConnectivityStatus?), Azure.ResourceManager.Kubernetes.Models.PrivateLinkState? privateLinkState = default(Azure.ResourceManager.Kubernetes.Models.PrivateLinkState?), string privateLinkScopeResourceId = null) { throw null; }
public static Azure.ResourceManager.Kubernetes.Models.CredentialResult CredentialResult(string name = null, byte[] value = null) { throw null; }
public static Azure.ResourceManager.Kubernetes.Models.CredentialResults CredentialResults(Azure.ResourceManager.Kubernetes.Models.HybridConnectionConfig hybridConnectionConfig = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Kubernetes.Models.CredentialResult> kubeconfigs = null) { throw null; }
public static Azure.ResourceManager.Kubernetes.Models.HybridConnectionConfig HybridConnectionConfig(long? expirationTime = default(long?), string hybridConnectionName = null, string relay = null, string token = null) { throw null; }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct AuthenticationMethod : System.IEquatable<Azure.ResourceManager.Kubernetes.Models.AuthenticationMethod>
{
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 @@ -5,7 +5,6 @@ Run `dotnet build /t:GenerateCode` to generate code.
``` yaml

azure-arm: true
generate-model-factory: false
csharp: true
library-name: Kubernetes
namespace: Azure.ResourceManager.Kubernetes
Expand Down Expand Up @@ -47,4 +46,4 @@ rename-rules:
URI: Uri
Etag: ETag|etag

```
```
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-30)

### 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-20)

### Other Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@ public IotCentralPrivateLinkResourceData() { }
}
namespace Azure.ResourceManager.IotCentral.Models
{
public static partial class ArmIotCentralModelFactory
{
public static Azure.ResourceManager.IotCentral.IotCentralAppData IotCentralAppData(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.IotCentral.Models.IotCentralAppSku? skuName = default(Azure.ResourceManager.IotCentral.Models.IotCentralAppSku?), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, Azure.ResourceManager.IotCentral.Models.IotCentralProvisioningState? provisioningState = default(Azure.ResourceManager.IotCentral.Models.IotCentralProvisioningState?), System.Guid? applicationId = default(System.Guid?), string displayName = null, string subdomain = null, string template = null, Azure.ResourceManager.IotCentral.Models.IotCentralAppState? state = default(Azure.ResourceManager.IotCentral.Models.IotCentralAppState?), Azure.ResourceManager.IotCentral.Models.IotCentralPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.IotCentral.Models.IotCentralPublicNetworkAccess?), Azure.ResourceManager.IotCentral.Models.IotCentralNetworkRuleSets networkRuleSets = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotCentral.IotCentralPrivateEndpointConnectionData> privateEndpointConnections = null) { throw null; }
public static Azure.ResourceManager.IotCentral.Models.IotCentralAppNameAvailabilityResponse IotCentralAppNameAvailabilityResponse(bool? isNameAvailable = default(bool?), string iotCentralAppNameUnavailableReason = null, string message = null) { throw null; }
public static Azure.ResourceManager.IotCentral.Models.IotCentralAppTemplate IotCentralAppTemplate(string manifestId = null, string manifestVersion = null, string name = null, string title = null, int? order = default(int?), string description = null, string industry = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotCentral.Models.IotCentralAppTemplateLocation> locations = null) { throw null; }
public static Azure.ResourceManager.IotCentral.Models.IotCentralAppTemplateLocation IotCentralAppTemplateLocation(Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?), string displayName = null) { throw null; }
public static Azure.ResourceManager.IotCentral.IotCentralPrivateEndpointConnectionData IotCentralPrivateEndpointConnectionData(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<string> groupIds = null, Azure.Core.ResourceIdentifier privateEndpointId = null, Azure.ResourceManager.IotCentral.Models.IotCentralPrivateLinkServiceConnectionState connectionState = null, Azure.ResourceManager.IotCentral.Models.IotCentralPrivateEndpointConnectionProvisioningState? provisioningState = default(Azure.ResourceManager.IotCentral.Models.IotCentralPrivateEndpointConnectionProvisioningState?)) { throw null; }
public static Azure.ResourceManager.IotCentral.IotCentralPrivateLinkResourceData IotCentralPrivateLinkResourceData(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 partial class IotCentralAppNameAvailabilityContent
{
public IotCentralAppNameAvailabilityContent(string name) { }
Expand Down
Loading