Skip to content

Commit

Permalink
enable model factory (#36566)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvbb authored May 29, 2023
1 parent 9dca267 commit d6837ba
Show file tree
Hide file tree
Showing 24 changed files with 3,808 additions and 30 deletions.
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 @@ -301,6 +301,26 @@ protected LabVirtualMachineResource() { }
}
namespace Azure.ResourceManager.LabServices.Models
{
public static partial class ArmLabServicesModelFactory
{
public static Azure.ResourceManager.LabServices.Models.AvailableLabServicesSku AvailableLabServicesSku(string resourceType = null, string name = null, Azure.ResourceManager.LabServices.Models.AvailableLabServicesSkuTier? tier = default(Azure.ResourceManager.LabServices.Models.AvailableLabServicesSkuTier?), string size = null, string family = null, Azure.ResourceManager.LabServices.Models.AvailableLabServicesSkuCapacity capacity = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.LabServices.Models.AvailableLabServicesSkuCapability> capabilities = null, System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> locations = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.LabServices.Models.AvailableLabServicesSkuCost> costs = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.LabServices.Models.AvailableLabServicesSkuRestrictions> restrictions = null) { throw null; }
public static Azure.ResourceManager.LabServices.Models.AvailableLabServicesSkuCapability AvailableLabServicesSkuCapability(string name = null, string value = null) { throw null; }
public static Azure.ResourceManager.LabServices.Models.AvailableLabServicesSkuCapacity AvailableLabServicesSkuCapacity(long? @default = default(long?), long? minimum = default(long?), long? maximum = default(long?), Azure.ResourceManager.LabServices.Models.LabServicesSkuCapacityScaleType? scaleType = default(Azure.ResourceManager.LabServices.Models.LabServicesSkuCapacityScaleType?)) { throw null; }
public static Azure.ResourceManager.LabServices.Models.AvailableLabServicesSkuCost AvailableLabServicesSkuCost(string meterId = null, float? quantity = default(float?), string extendedUnit = null) { throw null; }
public static Azure.ResourceManager.LabServices.Models.AvailableLabServicesSkuRestrictions AvailableLabServicesSkuRestrictions(Azure.ResourceManager.LabServices.Models.LabServicesSkuRestrictionType? labServicesSkuRestrictionType = default(Azure.ResourceManager.LabServices.Models.LabServicesSkuRestrictionType?), System.Collections.Generic.IEnumerable<string> values = null, Azure.ResourceManager.LabServices.Models.LabServicesSkuRestrictionReasonCode? reasonCode = default(Azure.ResourceManager.LabServices.Models.LabServicesSkuRestrictionReasonCode?)) { throw null; }
public static Azure.ResourceManager.LabServices.LabData LabData(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.LabServices.Models.LabAutoShutdownProfile autoShutdownProfile = null, Azure.ResourceManager.LabServices.Models.LabConnectionProfile connectionProfile = null, Azure.ResourceManager.LabServices.Models.LabVirtualMachineProfile virtualMachineProfile = null, Azure.ResourceManager.LabServices.Models.LabSecurityProfile securityProfile = null, Azure.ResourceManager.LabServices.Models.LabRosterProfile rosterProfile = null, Azure.Core.ResourceIdentifier labPlanId = null, string title = null, string description = null, Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState? provisioningState = default(Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState?), Azure.ResourceManager.LabServices.Models.LabNetworkProfile networkProfile = null, Azure.ResourceManager.LabServices.Models.LabState? state = default(Azure.ResourceManager.LabServices.Models.LabState?)) { throw null; }
public static Azure.ResourceManager.LabServices.LabPlanData LabPlanData(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, Azure.ResourceManager.LabServices.Models.LabConnectionProfile defaultConnectionProfile = null, Azure.ResourceManager.LabServices.Models.LabAutoShutdownProfile defaultAutoShutdownProfile = null, Azure.Core.ResourceIdentifier defaultNetworkSubnetId = null, System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> allowedRegions = null, Azure.Core.ResourceIdentifier sharedGalleryId = null, Azure.ResourceManager.LabServices.Models.LabPlanSupportInfo supportInfo = null, System.Uri linkedLmsInstance = null, Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState? provisioningState = default(Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState?)) { throw null; }
public static Azure.ResourceManager.LabServices.Models.LabSecurityProfile LabSecurityProfile(string registrationCode = null, Azure.ResourceManager.LabServices.Models.LabServicesEnableState? openAccess = default(Azure.ResourceManager.LabServices.Models.LabServicesEnableState?)) { throw null; }
public static Azure.ResourceManager.LabServices.LabServicesScheduleData LabServicesScheduleData(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? stopOn = default(System.DateTimeOffset?), Azure.ResourceManager.LabServices.Models.LabServicesRecurrencePattern recurrencePattern = null, string timeZoneId = null, System.BinaryData notes = null, Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState? provisioningState = default(Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState?)) { throw null; }
public static Azure.ResourceManager.LabServices.Models.LabServicesUsage LabServicesUsage(long? currentValue = default(long?), long? limit = default(long?), Azure.ResourceManager.LabServices.Models.LabServicesUsageUnit? unit = default(Azure.ResourceManager.LabServices.Models.LabServicesUsageUnit?), Azure.ResourceManager.LabServices.Models.LabServicesUsageName name = null, Azure.Core.ResourceIdentifier id = null) { throw null; }
public static Azure.ResourceManager.LabServices.Models.LabServicesUsageName LabServicesUsageName(string localizedValue = null, System.Collections.Generic.IEnumerable<string> skuInstances = null, string value = null) { throw null; }
public static Azure.ResourceManager.LabServices.LabUserData LabUserData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.TimeSpan? additionalUsageQuota = default(System.TimeSpan?), Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState? provisioningState = default(Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState?), string displayName = null, string email = null, Azure.ResourceManager.LabServices.Models.LabUserRegistrationState? registrationState = default(Azure.ResourceManager.LabServices.Models.LabUserRegistrationState?), Azure.ResourceManager.LabServices.Models.LabUserInvitationState? invitationState = default(Azure.ResourceManager.LabServices.Models.LabUserInvitationState?), System.DateTimeOffset? invitationSentOn = default(System.DateTimeOffset?), System.TimeSpan? totalUsage = default(System.TimeSpan?)) { throw null; }
public static Azure.ResourceManager.LabServices.Models.LabVirtualMachineConnectionProfile LabVirtualMachineConnectionProfile(System.Net.IPAddress privateIPAddress = null, string sshAuthority = null, System.Uri sshInBrowserUri = null, string rdpAuthority = null, System.Uri rdpInBrowserUri = null, string adminUsername = null, string nonAdminUsername = null) { throw null; }
public static Azure.ResourceManager.LabServices.LabVirtualMachineData LabVirtualMachineData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState? provisioningState = default(Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState?), Azure.ResourceManager.LabServices.Models.LabVirtualMachineState? state = default(Azure.ResourceManager.LabServices.Models.LabVirtualMachineState?), Azure.ResourceManager.LabServices.Models.LabVirtualMachineConnectionProfile connectionProfile = null, string claimedByUserId = null, Azure.ResourceManager.LabServices.Models.LabVirtualMachineType? vmType = default(Azure.ResourceManager.LabServices.Models.LabVirtualMachineType?)) { throw null; }
public static Azure.ResourceManager.LabServices.LabVirtualMachineImageData LabVirtualMachineImageData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.LabServices.Models.LabServicesEnableState? enabledState = default(Azure.ResourceManager.LabServices.Models.LabServicesEnableState?), Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState? provisioningState = default(Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState?), string displayName = null, string description = null, System.Uri iconUri = null, string author = null, Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageOSType? osType = default(Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageOSType?), string plan = null, Azure.ResourceManager.LabServices.Models.LabServicesEnableState? termsStatus = default(Azure.ResourceManager.LabServices.Models.LabServicesEnableState?), string offer = null, string publisher = null, string sku = null, string version = null, Azure.Core.ResourceIdentifier sharedGalleryId = null, System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> availableRegions = null, Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageOSState? osState = default(Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageOSState?)) { throw null; }
public static Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageReference LabVirtualMachineImageReference(Azure.Core.ResourceIdentifier id = null, string offer = null, string publisher = null, string sku = null, string version = null, string exactVersion = null) { throw null; }
public static Azure.ResourceManager.LabServices.Models.LabVirtualMachineProfile LabVirtualMachineProfile(Azure.ResourceManager.LabServices.Models.LabVirtualMachineCreateOption createOption = Azure.ResourceManager.LabServices.Models.LabVirtualMachineCreateOption.Image, Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageReference imageReference = null, Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageOSType? osType = default(Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageOSType?), Azure.ResourceManager.LabServices.Models.LabServicesSku sku = null, Azure.ResourceManager.LabServices.Models.LabServicesEnableState? additionalCapabilitiesInstallGpuDrivers = default(Azure.ResourceManager.LabServices.Models.LabServicesEnableState?), System.TimeSpan usageQuota = default(System.TimeSpan), Azure.ResourceManager.LabServices.Models.LabServicesEnableState? useSharedPassword = default(Azure.ResourceManager.LabServices.Models.LabServicesEnableState?), Azure.ResourceManager.LabServices.Models.LabVirtualMachineCredential adminUser = null, Azure.ResourceManager.LabServices.Models.LabVirtualMachineCredential nonAdminUser = null) { throw null; }
}
public partial class AvailableLabServicesSku
{
internal AvailableLabServicesSku() { }
Expand Down
Loading

0 comments on commit d6837ba

Please sign in to comment.