diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/assets.json b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/assets.json
index 87d2d1ff1b77..bc9c22bfdd79 100644
--- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/assets.json
+++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/assets.json
@@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/networkcloud/Azure.ResourceManager.NetworkCloud",
- "Tag": "net/networkcloud/Azure.ResourceManager.NetworkCloud_4ca0a41d66"
+ "Tag": "net/networkcloud/Azure.ResourceManager.NetworkCloud_0ea255e33a"
}
diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/ArmNetworkCloudModelFactory.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/ArmNetworkCloudModelFactory.cs
index e871cdb11751..9d6bf0686186 100644
--- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/ArmNetworkCloudModelFactory.cs
+++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/ArmNetworkCloudModelFactory.cs
@@ -27,11 +27,13 @@ public static partial class ArmNetworkCloudModelFactory
/// The location.
/// Resource ETag.
/// The extended location of the cluster associated with the resource.
+ /// The current state of any in progress or completed actions. The most recent known instance of each action type is shown.
/// The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.
/// The connection string for the baseboard management controller including IP address and protocol.
/// The credentials of the baseboard management controller on this bare metal machine.
/// The MAC address of the BMC device.
/// The MAC address of a NIC connected to the PXE network.
+ /// The CA certificate information issued by the platform for connecting to TLS interfaces for the bare metal machine. Callers add this certificate to the trusted CA store on the Kubernetes control plane nodes to allow secure communication with the bare metal machine.
/// The resource ID of the cluster this bare metal machine is associated with.
/// The cordon status of the bare metal machine.
/// The more detailed status of the bare metal machine.
@@ -60,9 +62,10 @@ public static partial class ArmNetworkCloudModelFactory
/// The discovered value of the machine's service tag.
/// Field Deprecated. These fields will be empty/omitted. The list of the resource IDs for the VirtualMachines that are hosted on this bare metal machine.
/// A new instance for mocking.
- public static NetworkCloudBareMetalMachineData NetworkCloudBareMetalMachineData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ExtendedLocation extendedLocation = null, IEnumerable associatedResourceIds = null, string bmcConnectionString = null, AdministrativeCredentials bmcCredentials = null, string bmcMacAddress = null, string bootMacAddress = null, ResourceIdentifier clusterId = null, BareMetalMachineCordonStatus? cordonStatus = null, BareMetalMachineDetailedStatus? detailedStatus = null, string detailedStatusMessage = null, HardwareInventory hardwareInventory = null, HardwareValidationStatus hardwareValidationStatus = null, IEnumerable hybridAksClustersAssociatedIds = null, string kubernetesNodeName = null, string kubernetesVersion = null, string machineClusterVersion = null, string machineDetails = null, string machineName = null, IEnumerable machineRoles = null, string machineSkuId = null, IPAddress oamIPv4Address = null, string oamIPv6Address = null, string osImage = null, BareMetalMachinePowerState? powerState = null, BareMetalMachineProvisioningState? provisioningState = null, ResourceIdentifier rackId = null, long rackSlot = default, BareMetalMachineReadyState? readyState = null, RuntimeProtectionStatus runtimeProtectionStatus = null, IEnumerable secretRotationStatus = null, string serialNumber = null, string serviceTag = null, IEnumerable virtualMachinesAssociatedIds = null)
+ public static NetworkCloudBareMetalMachineData NetworkCloudBareMetalMachineData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ExtendedLocation extendedLocation = null, IEnumerable actionStates = null, IEnumerable associatedResourceIds = null, string bmcConnectionString = null, AdministrativeCredentials bmcCredentials = null, string bmcMacAddress = null, string bootMacAddress = null, CertificateInfo caCertificate = null, ResourceIdentifier clusterId = null, BareMetalMachineCordonStatus? cordonStatus = null, BareMetalMachineDetailedStatus? detailedStatus = null, string detailedStatusMessage = null, HardwareInventory hardwareInventory = null, HardwareValidationStatus hardwareValidationStatus = null, IEnumerable hybridAksClustersAssociatedIds = null, string kubernetesNodeName = null, string kubernetesVersion = null, string machineClusterVersion = null, string machineDetails = null, string machineName = null, IEnumerable machineRoles = null, string machineSkuId = null, IPAddress oamIPv4Address = null, string oamIPv6Address = null, string osImage = null, BareMetalMachinePowerState? powerState = null, BareMetalMachineProvisioningState? provisioningState = null, ResourceIdentifier rackId = null, long rackSlot = default, BareMetalMachineReadyState? readyState = null, RuntimeProtectionStatus runtimeProtectionStatus = null, IEnumerable secretRotationStatus = null, string serialNumber = null, string serviceTag = null, IEnumerable virtualMachinesAssociatedIds = null)
{
tags ??= new Dictionary();
+ actionStates ??= new List();
associatedResourceIds ??= new List();
hybridAksClustersAssociatedIds ??= new List();
machineRoles ??= new List();
@@ -78,11 +81,13 @@ public static NetworkCloudBareMetalMachineData NetworkCloudBareMetalMachineData(
location,
etag,
extendedLocation,
+ actionStates?.ToList(),
associatedResourceIds?.ToList(),
bmcConnectionString,
bmcCredentials,
bmcMacAddress,
bootMacAddress,
+ caCertificate,
clusterId,
cordonStatus,
detailedStatus,
@@ -113,6 +118,57 @@ public static NetworkCloudBareMetalMachineData NetworkCloudBareMetalMachineData(
serializedAdditionalRawData: null);
}
+ /// Initializes a new instance of .
+ /// The representation of the action for which this is a status. Matches ARM resource action format when the action is an ARM-based action.
+ /// The correlation ID for the original action request. Omitted if there is no related correlation ID.
+ /// The timestamp of when the action reached its final, terminal state. Uses ISO 8601 format.
+ /// The description providing additional context for the status value. May be empty or contain guidance in the case of a failure.
+ /// The timestamp of when the action began, in ISO 8601 format.
+ /// The status of the action.
+ /// The ordered list of the individual steps which make up the action.
+ /// A new instance for mocking.
+ public static ActionState ActionState(string actionType = null, string correlationId = null, string endTime = null, string message = null, string startTime = null, ActionStateStatus? status = null, IEnumerable stepStates = null)
+ {
+ stepStates ??= new List();
+
+ return new ActionState(
+ actionType,
+ correlationId,
+ endTime,
+ message,
+ startTime,
+ status,
+ stepStates?.ToList(),
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The timestamp for when processing of the step reached its terminal state, in ISO 8601 format.
+ /// The message providing additional context for the status value. May be empty, or contain diagnostic information in the case of a failure.
+ /// The timestamp for when processing of the step began, in ISO 8601 format.
+ /// The status of the step. A value of Completed or Failed indicates a terminal state for the step.
+ /// The name for the step.
+ /// A new instance for mocking.
+ public static StepState StepState(string endTime = null, string message = null, string startTime = null, StepStateStatus? status = null, string stepName = null)
+ {
+ return new StepState(
+ endTime,
+ message,
+ startTime,
+ status,
+ stepName,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The hash value of the X.509 Certificate.
+ /// The textual value of the X.509 Certificate.
+ /// A new instance for mocking.
+ public static CertificateInfo CertificateInfo(string hash = null, string value = null)
+ {
+ return new CertificateInfo(hash, value, serializedAdditionalRawData: null);
+ }
+
/// Initializes a new instance of .
/// Freeform data extracted from the environment about this machine. This information varies depending on the specific hardware and configuration.
/// The list of network interfaces and associated details for the bare metal machine.
@@ -205,12 +261,13 @@ public static SecretRotationStatus SecretRotationStatus(long? expirePeriodDays =
/// Initializes a new instance of .
/// The resource ID of the key vault containing the secret.
+ /// The URI of the key containing the secret.
/// The name of the secret in the key vault.
/// The version of the secret in the key vault.
/// A new instance for mocking.
- public static SecretArchiveReference SecretArchiveReference(ResourceIdentifier keyVaultId = null, string secretName = null, string secretVersion = null)
+ public static SecretArchiveReference SecretArchiveReference(ResourceIdentifier keyVaultId = null, Uri keyVaultUri = null, string secretName = null, string secretVersion = null)
{
- return new SecretArchiveReference(keyVaultId, secretName, secretVersion, serializedAdditionalRawData: null);
+ return new SecretArchiveReference(keyVaultId, keyVaultUri, secretName, secretVersion, serializedAdditionalRawData: null);
}
/// Initializes a new instance of .
@@ -232,9 +289,11 @@ public static SecretArchiveReference SecretArchiveReference(ResourceIdentifier k
/// Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource IDs that are associated with this cloud services network.
/// The name of the interface that will be present in the virtual machine to represent this network.
/// The provisioning state of the cloud services network.
+ /// The storage options for the cloud services network.
+ /// The storage status for the cloud services network.
/// Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource IDs, excluding any Hybrid AKS virtual machines, that are currently using this cloud services network.
/// A new instance for mocking.
- public static NetworkCloudCloudServicesNetworkData NetworkCloudCloudServicesNetworkData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ExtendedLocation extendedLocation = null, IEnumerable additionalEgressEndpoints = null, IEnumerable associatedResourceIds = null, ResourceIdentifier clusterId = null, CloudServicesNetworkDetailedStatus? detailedStatus = null, string detailedStatusMessage = null, CloudServicesNetworkEnableDefaultEgressEndpoint? enableDefaultEgressEndpoints = null, IEnumerable enabledEgressEndpoints = null, IEnumerable hybridAksClustersAssociatedIds = null, string interfaceName = null, CloudServicesNetworkProvisioningState? provisioningState = null, IEnumerable virtualMachinesAssociatedIds = null)
+ public static NetworkCloudCloudServicesNetworkData NetworkCloudCloudServicesNetworkData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ExtendedLocation extendedLocation = null, IEnumerable additionalEgressEndpoints = null, IEnumerable associatedResourceIds = null, ResourceIdentifier clusterId = null, CloudServicesNetworkDetailedStatus? detailedStatus = null, string detailedStatusMessage = null, CloudServicesNetworkEnableDefaultEgressEndpoint? enableDefaultEgressEndpoints = null, IEnumerable enabledEgressEndpoints = null, IEnumerable hybridAksClustersAssociatedIds = null, string interfaceName = null, CloudServicesNetworkProvisioningState? provisioningState = null, CloudServicesNetworkStorageOptions storageOptions = null, CloudServicesNetworkStorageStatus storageStatus = null, IEnumerable virtualMachinesAssociatedIds = null)
{
tags ??= new Dictionary();
additionalEgressEndpoints ??= new List();
@@ -262,10 +321,30 @@ public static NetworkCloudCloudServicesNetworkData NetworkCloudCloudServicesNetw
hybridAksClustersAssociatedIds?.ToList(),
interfaceName,
provisioningState,
+ storageOptions,
+ storageStatus,
virtualMachinesAssociatedIds?.ToList(),
serializedAdditionalRawData: null);
}
+ /// Initializes a new instance of .
+ /// The indicator of if shared storage is enabled on the cloud services network.
+ /// The size in Mebibytes of the storage allocation.
+ /// The status of the storage allocation for the cloud services network.
+ /// The description for the status of the shared storage.
+ /// The resource ID of the volume created to host the shared storage.
+ /// A new instance for mocking.
+ public static CloudServicesNetworkStorageStatus CloudServicesNetworkStorageStatus(CloudServicesNetworkStorageMode? mode = null, long? sizeMiB = null, CloudServicesNetworkStorageStatusStatus? status = null, string statusMessage = null, ResourceIdentifier volumeId = null)
+ {
+ return new CloudServicesNetworkStorageStatus(
+ mode,
+ sizeMiB,
+ status,
+ statusMessage,
+ volumeId,
+ serializedAdditionalRawData: null);
+ }
+
/// Initializes a new instance of .
/// The id.
/// The name.
@@ -276,7 +355,7 @@ public static NetworkCloudCloudServicesNetworkData NetworkCloudCloudServicesNetw
/// Resource ETag.
/// The identity of the cluster manager.
/// The resource ID of the Log Analytics workspace that is used for the logs collection.
- /// Field deprecated, this value will no longer influence the cluster manager allocation process and will be removed in a future version. The Azure availability zones within the region that will be used to support the cluster manager resource.
+ /// The Azure availability zones within the region that will be used to support the cluster manager resource.
/// The list of the cluster versions the manager supports. It is used as input in clusterVersion property of a cluster resource.
/// The detailed status that provides additional information about the cluster manager.
/// The descriptive message about the current detailed status.
@@ -284,7 +363,7 @@ public static NetworkCloudCloudServicesNetworkData NetworkCloudCloudServicesNetw
/// The configuration of the managed resource group associated with the resource.
/// The extended location (custom location) that represents the cluster manager's control plane location. This extended location is used when creating cluster and rack manifest resources.
/// The provisioning state of the cluster manager.
- /// Field deprecated, this value will no longer influence the cluster manager allocation process and will be removed in a future version. The size of the Azure virtual machines to use for hosting the cluster manager resource.
+ /// The size of the Azure virtual machines to use for hosting the cluster manager resource.
/// A new instance for mocking.
public static NetworkCloudClusterManagerData NetworkCloudClusterManagerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ManagedServiceIdentity identity = null, ResourceIdentifier analyticsWorkspaceId = null, IEnumerable availabilityZones = null, IEnumerable clusterVersions = null, ClusterManagerDetailedStatus? detailedStatus = null, string detailedStatusMessage = null, ResourceIdentifier fabricControllerId = null, ManagedResourceGroupConfiguration managedResourceGroupConfiguration = null, ExtendedLocation managerExtendedLocation = null, ClusterManagerProvisioningState? provisioningState = null, string vmSize = null)
{
@@ -333,6 +412,7 @@ public static ClusterAvailableVersion ClusterAvailableVersion(string supportExpi
/// Resource ETag.
/// The extended location of the cluster manager associated with the cluster.
/// The identity for the resource.
+ /// The current state of any in progress or completed actions. The most recent known instance of each action type is shown.
/// The rack definition that is intended to reflect only a single rack in a single rack cluster, or an aggregator rack in a multi-rack cluster.
/// The settings for the log analytics workspace used for output of logs from this cluster.
/// Field Deprecated. The resource ID of the Log Analytics Workspace that will be used for storing relevant logs.
@@ -343,7 +423,7 @@ public static ClusterAvailableVersion ClusterAvailableVersion(string supportExpi
/// The customer-provided location information to identify where the cluster resides.
/// The latest connectivity status between cluster manager and the cluster.
/// The resource ID of the cluster manager that manages this cluster. This is set by the Cluster Manager when the cluster is created.
- /// The service principal to be used by the cluster during Arc Appliance installation.
+ /// Deprecated: Use managed identity to provide cluster privileges. The service principal to be used by the cluster during Arc Appliance installation.
/// The type of rack configuration for the cluster.
/// The current runtime version of the cluster.
/// The settings for commands run in this cluster, such as bare metal machine run read only commands and data extracts.
@@ -367,9 +447,10 @@ public static ClusterAvailableVersion ClusterAvailableVersion(string supportExpi
/// The settings for how security vulnerability scanning is applied to the cluster.
/// The list of workload resource IDs that are hosted within this cluster.
/// A new instance for mocking.
- public static NetworkCloudClusterData NetworkCloudClusterData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ExtendedLocation extendedLocation = null, ManagedServiceIdentity identity = null, NetworkCloudRackDefinition aggregatorOrSingleRackDefinition = null, AnalyticsOutputSettings analyticsOutputSettings = null, ResourceIdentifier analyticsWorkspaceId = null, IEnumerable availableUpgradeVersions = null, ClusterCapacity clusterCapacity = null, ClusterConnectionStatus? clusterConnectionStatus = null, ExtendedLocation clusterExtendedLocation = null, string clusterLocation = null, ClusterManagerConnectionStatus? clusterManagerConnectionStatus = null, ResourceIdentifier clusterManagerId = null, ServicePrincipalInformation clusterServicePrincipal = null, ClusterType clusterType = default, string clusterVersion = null, CommandOutputSettings commandOutputSettings = null, ValidationThreshold computeDeploymentThreshold = null, IEnumerable computeRackDefinitions = null, ClusterDetailedStatus? detailedStatus = null, string detailedStatusMessage = null, ExtendedLocation hybridAksExtendedLocation = null, ManagedResourceGroupConfiguration managedResourceGroupConfiguration = null, long? manualActionCount = null, ResourceIdentifier networkFabricId = null, ClusterProvisioningState? provisioningState = null, RuntimeProtectionEnforcementLevel? runtimeProtectionEnforcementLevel = null, ClusterSecretArchive secretArchive = null, SecretArchiveSettings secretArchiveSettings = null, DateTimeOffset? supportExpireOn = null, ClusterUpdateStrategy updateStrategy = null, VulnerabilityScanningSettingsContainerScan? vulnerabilityScanningContainerScan = null, IEnumerable workloadResourceIds = null)
+ public static NetworkCloudClusterData NetworkCloudClusterData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ExtendedLocation extendedLocation = null, ManagedServiceIdentity identity = null, IEnumerable actionStates = null, NetworkCloudRackDefinition aggregatorOrSingleRackDefinition = null, AnalyticsOutputSettings analyticsOutputSettings = null, ResourceIdentifier analyticsWorkspaceId = null, IEnumerable availableUpgradeVersions = null, ClusterCapacity clusterCapacity = null, ClusterConnectionStatus? clusterConnectionStatus = null, ExtendedLocation clusterExtendedLocation = null, string clusterLocation = null, ClusterManagerConnectionStatus? clusterManagerConnectionStatus = null, ResourceIdentifier clusterManagerId = null, ServicePrincipalInformation clusterServicePrincipal = null, ClusterType clusterType = default, string clusterVersion = null, CommandOutputSettings commandOutputSettings = null, ValidationThreshold computeDeploymentThreshold = null, IEnumerable computeRackDefinitions = null, ClusterDetailedStatus? detailedStatus = null, string detailedStatusMessage = null, ExtendedLocation hybridAksExtendedLocation = null, ManagedResourceGroupConfiguration managedResourceGroupConfiguration = null, long? manualActionCount = null, ResourceIdentifier networkFabricId = null, ClusterProvisioningState? provisioningState = null, RuntimeProtectionEnforcementLevel? runtimeProtectionEnforcementLevel = null, ClusterSecretArchive secretArchive = null, SecretArchiveSettings secretArchiveSettings = null, DateTimeOffset? supportExpireOn = null, ClusterUpdateStrategy updateStrategy = null, VulnerabilityScanningSettingsContainerScan? vulnerabilityScanningContainerScan = null, IEnumerable workloadResourceIds = null)
{
tags ??= new Dictionary();
+ actionStates ??= new List();
availableUpgradeVersions ??= new List();
computeRackDefinitions ??= new List();
workloadResourceIds ??= new List();
@@ -384,6 +465,7 @@ public static NetworkCloudClusterData NetworkCloudClusterData(ResourceIdentifier
etag,
extendedLocation,
identity,
+ actionStates?.ToList(),
aggregatorOrSingleRackDefinition,
analyticsOutputSettings,
analyticsWorkspaceId,
@@ -957,9 +1039,10 @@ public static NetworkCloudRackData NetworkCloudRackData(ResourceIdentifier id =
/// Resource ETag.
/// The extended location of the cluster associated with the resource.
/// The credentials of the administrative interface on this storage appliance.
+ /// The CA certificate information issued by the platform for connecting to TLS interfaces for the storage appliance. Callers add this certificate to their trusted CA store to allow secure communication with the storage appliance.
/// The total capacity of the storage appliance. Measured in GiB.
- /// The amount of storage consumed.
- /// The resource ID of the cluster this storage appliance is associated with. Measured in GiB.
+ /// The amount of storage consumed. Measured in GiB.
+ /// The resource ID of the cluster this storage appliance is associated with.
/// The detailed status of the storage appliance.
/// The descriptive message about the current detailed status.
/// The endpoint for the management interface of the storage appliance.
@@ -975,7 +1058,7 @@ public static NetworkCloudRackData NetworkCloudRackData(ResourceIdentifier id =
/// The SKU for the storage appliance.
/// The version of the storage appliance.
/// A new instance for mocking.
- public static NetworkCloudStorageApplianceData NetworkCloudStorageApplianceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ExtendedLocation extendedLocation = null, AdministrativeCredentials administratorCredentials = null, long? capacity = null, long? capacityUsed = null, ResourceIdentifier clusterId = null, StorageApplianceDetailedStatus? detailedStatus = null, string detailedStatusMessage = null, IPAddress managementIPv4Address = null, string manufacturer = null, string model = null, StorageApplianceProvisioningState? provisioningState = null, ResourceIdentifier rackId = null, long rackSlot = default, RemoteVendorManagementFeature? remoteVendorManagementFeature = null, RemoteVendorManagementStatus? remoteVendorManagementStatus = null, IEnumerable secretRotationStatus = null, string serialNumber = null, string storageApplianceSkuId = null, string version = null)
+ public static NetworkCloudStorageApplianceData NetworkCloudStorageApplianceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ExtendedLocation extendedLocation = null, AdministrativeCredentials administratorCredentials = null, CertificateInfo caCertificate = null, long? capacity = null, long? capacityUsed = null, ResourceIdentifier clusterId = null, StorageApplianceDetailedStatus? detailedStatus = null, string detailedStatusMessage = null, IPAddress managementIPv4Address = null, string manufacturer = null, string model = null, StorageApplianceProvisioningState? provisioningState = null, ResourceIdentifier rackId = null, long rackSlot = default, RemoteVendorManagementFeature? remoteVendorManagementFeature = null, RemoteVendorManagementStatus? remoteVendorManagementStatus = null, IEnumerable secretRotationStatus = null, string serialNumber = null, string storageApplianceSkuId = null, string version = null)
{
tags ??= new Dictionary();
secretRotationStatus ??= new List();
@@ -990,6 +1073,7 @@ public static NetworkCloudStorageApplianceData NetworkCloudStorageApplianceData(
etag,
extendedLocation,
administratorCredentials,
+ caCertificate,
capacity,
capacityUsed,
clusterId,
@@ -1072,6 +1156,7 @@ public static NetworkCloudTrunkedNetworkData NetworkCloudTrunkedNetworkData(Reso
/// The location.
/// Resource ETag.
/// The extended location of the cluster associated with the resource.
+ /// The identity for the resource.
/// The name of the administrator to which the ssh public keys will be added into the authorized keys.
/// The cluster availability zone containing this virtual machine.
/// The resource ID of the bare metal machine that hosts the virtual machine.
@@ -1085,20 +1170,22 @@ public static NetworkCloudTrunkedNetworkData NetworkCloudTrunkedNetworkData(Reso
/// Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
/// The memory size of the virtual machine. Allocations are measured in gibibytes.
/// The list of network attachments to the virtual machine.
- /// The Base64 encoded cloud-init network data.
+ /// Deprecated: The Base64 encoded cloud-init network data. The networkDataContent property will be used in preference to this property.
+ /// The Base64 encoded cloud-init network data.
/// The scheduling hints for the virtual machine.
/// The power state of the virtual machine.
/// The provisioning state of the virtual machine.
/// The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
/// The storage profile that specifies size and other parameters about the disks related to the virtual machine.
- /// The Base64 encoded cloud-init user data.
+ /// Deprecated: The Base64 encoded cloud-init user data. The userDataContent property will be used in preference to this property.
+ /// The Base64 encoded cloud-init user data.
/// Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
/// The type of the device model to use.
/// The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
/// The credentials used to login to the image repository that has access to the specified image.
/// The resource IDs of volumes that are attached to the virtual machine.
/// A new instance for mocking.
- public static NetworkCloudVirtualMachineData NetworkCloudVirtualMachineData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ExtendedLocation extendedLocation = null, string adminUsername = null, string availabilityZone = null, ResourceIdentifier bareMetalMachineId = null, VirtualMachineBootMethod? bootMethod = null, NetworkAttachment cloudServicesNetworkAttachment = null, ResourceIdentifier clusterId = null, ExtendedLocation consoleExtendedLocation = null, long cpuCores = default, VirtualMachineDetailedStatus? detailedStatus = null, string detailedStatusMessage = null, VirtualMachineIsolateEmulatorThread? isolateEmulatorThread = null, long memorySizeInGB = default, IEnumerable networkAttachments = null, string networkData = null, IEnumerable placementHints = null, VirtualMachinePowerState? powerState = null, VirtualMachineProvisioningState? provisioningState = null, IEnumerable sshPublicKeys = null, NetworkCloudStorageProfile storageProfile = null, string userData = null, VirtualMachineVirtioInterfaceType? virtioInterface = null, VirtualMachineDeviceModelType? vmDeviceModel = null, string vmImage = null, ImageRepositoryCredentials vmImageRepositoryCredentials = null, IEnumerable volumes = null)
+ public static NetworkCloudVirtualMachineData NetworkCloudVirtualMachineData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ExtendedLocation extendedLocation = null, ManagedServiceIdentity identity = null, string adminUsername = null, string availabilityZone = null, ResourceIdentifier bareMetalMachineId = null, VirtualMachineBootMethod? bootMethod = null, NetworkAttachment cloudServicesNetworkAttachment = null, ResourceIdentifier clusterId = null, ExtendedLocation consoleExtendedLocation = null, long cpuCores = default, VirtualMachineDetailedStatus? detailedStatus = null, string detailedStatusMessage = null, VirtualMachineIsolateEmulatorThread? isolateEmulatorThread = null, long memorySizeInGB = default, IEnumerable networkAttachments = null, string networkData = null, string networkDataContent = null, IEnumerable placementHints = null, VirtualMachinePowerState? powerState = null, VirtualMachineProvisioningState? provisioningState = null, IEnumerable sshPublicKeys = null, NetworkCloudStorageProfile storageProfile = null, string userData = null, string userDataContent = null, VirtualMachineVirtioInterfaceType? virtioInterface = null, VirtualMachineDeviceModelType? vmDeviceModel = null, string vmImage = null, ImageRepositoryCredentials vmImageRepositoryCredentials = null, IEnumerable volumes = null)
{
tags ??= new Dictionary();
networkAttachments ??= new List();
@@ -1115,6 +1202,7 @@ public static NetworkCloudVirtualMachineData NetworkCloudVirtualMachineData(Reso
location,
etag,
extendedLocation,
+ identity,
adminUsername,
availabilityZone,
bareMetalMachineId,
@@ -1129,12 +1217,14 @@ public static NetworkCloudVirtualMachineData NetworkCloudVirtualMachineData(Reso
memorySizeInGB,
networkAttachments?.ToList(),
networkData,
+ networkDataContent,
placementHints?.ToList(),
powerState,
provisioningState,
sshPublicKeys?.ToList(),
storageProfile,
userData,
+ userDataContent,
virtioInterface,
vmDeviceModel,
vmImage,
@@ -1152,14 +1242,16 @@ public static NetworkCloudVirtualMachineData NetworkCloudVirtualMachineData(Reso
/// The location.
/// Resource ETag.
/// The extended location of the cluster associated with the resource.
+ /// The allocated size of the volume in Mebibytes.
/// The list of resource IDs that attach the volume. It may include virtual machines and Hybrid AKS clusters.
/// The more detailed status of the volume.
/// The descriptive message about the current detailed status.
/// The provisioning state of the volume.
/// The unique identifier of the volume.
- /// The size of the allocation for this volume in Mebibytes.
+ /// The requested storage allocation for the volume in Mebibytes.
+ /// The resource ID of the storage appliance that hosts the volume.
/// A new instance for mocking.
- public static NetworkCloudVolumeData NetworkCloudVolumeData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ExtendedLocation extendedLocation = null, IEnumerable attachedTo = null, VolumeDetailedStatus? detailedStatus = null, string detailedStatusMessage = null, VolumeProvisioningState? provisioningState = null, string serialNumber = null, long sizeInMiB = default)
+ public static NetworkCloudVolumeData NetworkCloudVolumeData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ExtendedLocation extendedLocation = null, long? allocatedSizeMiB = null, IEnumerable attachedTo = null, VolumeDetailedStatus? detailedStatus = null, string detailedStatusMessage = null, VolumeProvisioningState? provisioningState = null, string serialNumber = null, long sizeInMiB = default, ResourceIdentifier storageApplianceId = null)
{
tags ??= new Dictionary();
attachedTo ??= new List();
@@ -1173,12 +1265,14 @@ public static NetworkCloudVolumeData NetworkCloudVolumeData(ResourceIdentifier i
location,
etag,
extendedLocation,
+ allocatedSizeMiB,
attachedTo?.ToList(),
detailedStatus,
detailedStatusMessage,
provisioningState,
serialNumber,
sizeInMiB,
+ storageApplianceId,
serializedAdditionalRawData: null);
}
@@ -1261,11 +1355,12 @@ public static BareMetalMachineCommandSpecification BareMetalMachineCommandSpecif
/// The last time this key set was validated.
/// The name of the group that users will be assigned to on the operating system of the machines.
/// The access level allowed for the users in this key set.
+ /// The name of the access level to apply when the privilege level is set to Other.
/// The provisioning state of the bare metal machine key set.
/// The unique list of permitted users.
/// The status evaluation of each user.
/// A new instance for mocking.
- public static NetworkCloudBareMetalMachineKeySetData NetworkCloudBareMetalMachineKeySetData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ExtendedLocation extendedLocation = null, string azureGroupId = null, BareMetalMachineKeySetDetailedStatus? detailedStatus = null, string detailedStatusMessage = null, DateTimeOffset expireOn = default, IEnumerable jumpHostsAllowed = null, DateTimeOffset? lastValidatedOn = null, string osGroupName = null, BareMetalMachineKeySetPrivilegeLevel privilegeLevel = default, BareMetalMachineKeySetProvisioningState? provisioningState = null, IEnumerable userList = null, IEnumerable userListStatus = null)
+ public static NetworkCloudBareMetalMachineKeySetData NetworkCloudBareMetalMachineKeySetData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ExtendedLocation extendedLocation = null, string azureGroupId = null, BareMetalMachineKeySetDetailedStatus? detailedStatus = null, string detailedStatusMessage = null, DateTimeOffset expireOn = default, IEnumerable jumpHostsAllowed = null, DateTimeOffset? lastValidatedOn = null, string osGroupName = null, BareMetalMachineKeySetPrivilegeLevel privilegeLevel = default, string privilegeLevelName = null, BareMetalMachineKeySetProvisioningState? provisioningState = null, IEnumerable userList = null, IEnumerable userListStatus = null)
{
tags ??= new Dictionary();
jumpHostsAllowed ??= new List();
@@ -1289,6 +1384,7 @@ public static NetworkCloudBareMetalMachineKeySetData NetworkCloudBareMetalMachin
lastValidatedOn,
osGroupName,
privilegeLevel,
+ privilegeLevelName,
provisioningState,
userList?.ToList(),
userListStatus?.ToList(),
@@ -1487,6 +1583,26 @@ public static NetworkCloudKubernetesClusterFeatureData NetworkCloudKubernetesClu
serializedAdditionalRawData: null);
}
+ /// Initializes a new instance of .
+ /// The list of strings that will be passed to the script in order as separate arguments.
+ /// The command to execute.
+ /// A new instance for mocking.
+ public static StorageApplianceCommandSpecification StorageApplianceCommandSpecification(IEnumerable arguments = null, string command = null)
+ {
+ arguments ??= new List();
+
+ return new StorageApplianceCommandSpecification(arguments?.ToList(), command, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The resourceId of the Microsoft.HybridCompute machine resource to assign relay usage.
+ /// The indicator of which relay type the machine should be assigned to use. Platform indicates the use of a platform-dedicated relay. Public indicates the use of the standard public relay for Arc services.
+ /// A new instance for mocking.
+ public static VirtualMachineAssignRelayContent VirtualMachineAssignRelayContent(ResourceIdentifier machineId = null, RelayType? relayType = null)
+ {
+ return new VirtualMachineAssignRelayContent(machineId, relayType, serializedAdditionalRawData: null);
+ }
+
/// Initializes a new instance of .
/// The id.
/// The name.
@@ -1529,6 +1645,266 @@ public static NetworkCloudVirtualMachineConsoleData NetworkCloudVirtualMachineCo
serializedAdditionalRawData: null);
}
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// Resource ETag.
+ /// The extended location of the cluster associated with the resource.
+ /// The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.
+ /// The connection string for the baseboard management controller including IP address and protocol.
+ /// The credentials of the baseboard management controller on this bare metal machine.
+ /// The MAC address of the BMC device.
+ /// The MAC address of a NIC connected to the PXE network.
+ /// The resource ID of the cluster this bare metal machine is associated with.
+ /// The cordon status of the bare metal machine.
+ /// The more detailed status of the bare metal machine.
+ /// The descriptive message about the current detailed status.
+ /// The hardware inventory, including information acquired from the model/sku information and from the ironic inspector.
+ /// The details of the latest hardware validation performed for this bare metal machine.
+ /// Field Deprecated. These fields will be empty/omitted. The list of the resource IDs for the HybridAksClusters that have nodes hosted on this bare metal machine.
+ /// The name of this machine represented by the host object in the Cluster's Kubernetes control plane.
+ /// The version of Kubernetes running on this machine.
+ /// The cluster version that has been applied to this machine during deployment or a version update.
+ /// The custom details provided by the customer.
+ /// The OS-level hostname assigned to this machine.
+ /// The list of roles that are assigned to the cluster node running on this machine.
+ /// The unique internal identifier of the bare metal machine SKU.
+ /// The IPv4 address that is assigned to the bare metal machine during the cluster deployment.
+ /// The IPv6 address that is assigned to the bare metal machine during the cluster deployment.
+ /// The image that is currently provisioned to the OS disk.
+ /// The power state derived from the baseboard management controller.
+ /// The provisioning state of the bare metal machine.
+ /// The resource ID of the rack where this bare metal machine resides.
+ /// The rack slot in which this bare metal machine is located, ordered from the bottom up i.e. the lowest slot is 1.
+ /// The indicator of whether the bare metal machine is ready to receive workloads.
+ /// The runtime protection status of the bare metal machine.
+ /// The list of statuses that represent secret rotation activity.
+ /// The serial number of the bare metal machine.
+ /// The discovered value of the machine's service tag.
+ /// Field Deprecated. These fields will be empty/omitted. The list of the resource IDs for the VirtualMachines that are hosted on this bare metal machine.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static NetworkCloudBareMetalMachineData NetworkCloudBareMetalMachineData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ETag? etag, ExtendedLocation extendedLocation, IEnumerable associatedResourceIds, string bmcConnectionString, AdministrativeCredentials bmcCredentials, string bmcMacAddress, string bootMacAddress, ResourceIdentifier clusterId, BareMetalMachineCordonStatus? cordonStatus, BareMetalMachineDetailedStatus? detailedStatus, string detailedStatusMessage, HardwareInventory hardwareInventory, HardwareValidationStatus hardwareValidationStatus, IEnumerable hybridAksClustersAssociatedIds, string kubernetesNodeName, string kubernetesVersion, string machineClusterVersion, string machineDetails, string machineName, IEnumerable machineRoles, string machineSkuId, IPAddress oamIPv4Address, string oamIPv6Address, string osImage, BareMetalMachinePowerState? powerState, BareMetalMachineProvisioningState? provisioningState, ResourceIdentifier rackId, long rackSlot, BareMetalMachineReadyState? readyState, RuntimeProtectionStatus runtimeProtectionStatus, IEnumerable secretRotationStatus, string serialNumber, string serviceTag, IEnumerable virtualMachinesAssociatedIds)
+ {
+ return NetworkCloudBareMetalMachineData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: etag, extendedLocation: extendedLocation, actionStates: default, associatedResourceIds: associatedResourceIds, bmcConnectionString: bmcConnectionString, bmcCredentials: bmcCredentials, bmcMacAddress: bmcMacAddress, bootMacAddress: bootMacAddress, caCertificate: default, clusterId: clusterId, cordonStatus: cordonStatus, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, hardwareInventory: hardwareInventory, hardwareValidationStatus: hardwareValidationStatus, hybridAksClustersAssociatedIds: hybridAksClustersAssociatedIds, kubernetesNodeName: kubernetesNodeName, kubernetesVersion: kubernetesVersion, machineClusterVersion: machineClusterVersion, machineDetails: machineDetails, machineName: machineName, machineRoles: machineRoles, machineSkuId: machineSkuId, oamIPv4Address: oamIPv4Address, oamIPv6Address: oamIPv6Address, osImage: osImage, powerState: powerState, provisioningState: provisioningState, rackId: rackId, rackSlot: rackSlot, readyState: readyState, runtimeProtectionStatus: runtimeProtectionStatus, secretRotationStatus: secretRotationStatus, serialNumber: serialNumber, serviceTag: serviceTag, virtualMachinesAssociatedIds: virtualMachinesAssociatedIds);
+ }
+
+ /// Initializes a new instance of .
+ /// The resource ID of the key vault containing the secret.
+ /// The name of the secret in the key vault.
+ /// The version of the secret in the key vault.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static SecretArchiveReference SecretArchiveReference(ResourceIdentifier keyVaultId, string secretName, string secretVersion)
+ {
+ return SecretArchiveReference(keyVaultId: keyVaultId, keyVaultUri: default, secretName: secretName, secretVersion: secretVersion);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// Resource ETag.
+ /// The extended location of the cluster associated with the resource.
+ /// The list of egress endpoints. This allows for connection from a Hybrid AKS cluster to the specified endpoint.
+ /// The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.
+ /// The resource ID of the Network Cloud cluster this cloud services network is associated with.
+ /// The more detailed status of the cloud services network.
+ /// The descriptive message about the current detailed status.
+ /// The indicator of whether the platform default endpoints are allowed for the egress traffic.
+ /// The full list of additional and default egress endpoints that are currently enabled.
+ /// Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource IDs that are associated with this cloud services network.
+ /// The name of the interface that will be present in the virtual machine to represent this network.
+ /// The provisioning state of the cloud services network.
+ /// Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource IDs, excluding any Hybrid AKS virtual machines, that are currently using this cloud services network.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static NetworkCloudCloudServicesNetworkData NetworkCloudCloudServicesNetworkData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ETag? etag, ExtendedLocation extendedLocation, IEnumerable additionalEgressEndpoints, IEnumerable associatedResourceIds, ResourceIdentifier clusterId, CloudServicesNetworkDetailedStatus? detailedStatus, string detailedStatusMessage, CloudServicesNetworkEnableDefaultEgressEndpoint? enableDefaultEgressEndpoints, IEnumerable enabledEgressEndpoints, IEnumerable hybridAksClustersAssociatedIds, string interfaceName, CloudServicesNetworkProvisioningState? provisioningState, IEnumerable virtualMachinesAssociatedIds)
+ {
+ return NetworkCloudCloudServicesNetworkData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: etag, extendedLocation: extendedLocation, additionalEgressEndpoints: additionalEgressEndpoints, associatedResourceIds: associatedResourceIds, clusterId: clusterId, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, enableDefaultEgressEndpoints: enableDefaultEgressEndpoints, enabledEgressEndpoints: enabledEgressEndpoints, hybridAksClustersAssociatedIds: hybridAksClustersAssociatedIds, interfaceName: interfaceName, provisioningState: provisioningState, storageOptions: default, storageStatus: default, virtualMachinesAssociatedIds: virtualMachinesAssociatedIds);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// Resource ETag.
+ /// The extended location of the cluster manager associated with the cluster.
+ /// The identity for the resource.
+ /// The rack definition that is intended to reflect only a single rack in a single rack cluster, or an aggregator rack in a multi-rack cluster.
+ /// The settings for the log analytics workspace used for output of logs from this cluster.
+ /// Field Deprecated. The resource ID of the Log Analytics Workspace that will be used for storing relevant logs.
+ /// The list of cluster runtime version upgrades available for this cluster.
+ /// The capacity supported by this cluster.
+ /// The latest heartbeat status between the cluster manager and the cluster.
+ /// The extended location (custom location) that represents the cluster's control plane location. This extended location is used to route the requests of child objects of the cluster that are handled by the platform operator.
+ /// The customer-provided location information to identify where the cluster resides.
+ /// The latest connectivity status between cluster manager and the cluster.
+ /// The resource ID of the cluster manager that manages this cluster. This is set by the Cluster Manager when the cluster is created.
+ /// The service principal to be used by the cluster during Arc Appliance installation.
+ /// The type of rack configuration for the cluster.
+ /// The current runtime version of the cluster.
+ /// The settings for commands run in this cluster, such as bare metal machine run read only commands and data extracts.
+ /// The validation threshold indicating the allowable failures of compute machines during environment validation and deployment.
+ ///
+ /// The list of rack definitions for the compute racks in a multi-rack
+ /// cluster, or an empty list in a single-rack cluster.
+ ///
+ /// The current detailed status of the cluster.
+ /// The descriptive message about the detailed status.
+ /// Field Deprecated. This field will not be populated in an upcoming version. The extended location (custom location) that represents the Hybrid AKS control plane location. This extended location is used when creating provisioned clusters (Hybrid AKS clusters).
+ /// The configuration of the managed resource group associated with the resource.
+ /// The count of Manual Action Taken (MAT) events that have not been validated.
+ /// The resource ID of the Network Fabric associated with the cluster.
+ /// The provisioning state of the cluster.
+ /// The settings for cluster runtime protection.
+ /// The configuration for use of a key vault to store secrets for later retrieval by the operator.
+ /// The settings for the secret archive used to hold credentials for the cluster.
+ /// The support end date of the runtime version of the cluster.
+ /// The strategy for updating the cluster.
+ /// The settings for how security vulnerability scanning is applied to the cluster.
+ /// The list of workload resource IDs that are hosted within this cluster.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static NetworkCloudClusterData NetworkCloudClusterData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ETag? etag, ExtendedLocation extendedLocation, ManagedServiceIdentity identity, NetworkCloudRackDefinition aggregatorOrSingleRackDefinition, AnalyticsOutputSettings analyticsOutputSettings, ResourceIdentifier analyticsWorkspaceId, IEnumerable availableUpgradeVersions, ClusterCapacity clusterCapacity, ClusterConnectionStatus? clusterConnectionStatus, ExtendedLocation clusterExtendedLocation, string clusterLocation, ClusterManagerConnectionStatus? clusterManagerConnectionStatus, ResourceIdentifier clusterManagerId, ServicePrincipalInformation clusterServicePrincipal, ClusterType clusterType, string clusterVersion, CommandOutputSettings commandOutputSettings, ValidationThreshold computeDeploymentThreshold, IEnumerable computeRackDefinitions, ClusterDetailedStatus? detailedStatus, string detailedStatusMessage, ExtendedLocation hybridAksExtendedLocation, ManagedResourceGroupConfiguration managedResourceGroupConfiguration, long? manualActionCount, ResourceIdentifier networkFabricId, ClusterProvisioningState? provisioningState, RuntimeProtectionEnforcementLevel? runtimeProtectionEnforcementLevel, ClusterSecretArchive secretArchive, SecretArchiveSettings secretArchiveSettings, DateTimeOffset? supportExpireOn, ClusterUpdateStrategy updateStrategy, VulnerabilityScanningSettingsContainerScan? vulnerabilityScanningContainerScan, IEnumerable workloadResourceIds)
+ {
+ return NetworkCloudClusterData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: etag, extendedLocation: extendedLocation, identity: identity, actionStates: default, aggregatorOrSingleRackDefinition: aggregatorOrSingleRackDefinition, analyticsOutputSettings: analyticsOutputSettings, analyticsWorkspaceId: analyticsWorkspaceId, availableUpgradeVersions: availableUpgradeVersions, clusterCapacity: clusterCapacity, clusterConnectionStatus: clusterConnectionStatus, clusterExtendedLocation: clusterExtendedLocation, clusterLocation: clusterLocation, clusterManagerConnectionStatus: clusterManagerConnectionStatus, clusterManagerId: clusterManagerId, clusterServicePrincipal: clusterServicePrincipal, clusterType: clusterType, clusterVersion: clusterVersion, commandOutputSettings: commandOutputSettings, computeDeploymentThreshold: computeDeploymentThreshold, computeRackDefinitions: computeRackDefinitions, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, hybridAksExtendedLocation: hybridAksExtendedLocation, managedResourceGroupConfiguration: managedResourceGroupConfiguration, manualActionCount: manualActionCount, networkFabricId: networkFabricId, provisioningState: provisioningState, runtimeProtectionEnforcementLevel: runtimeProtectionEnforcementLevel, secretArchive: secretArchive, secretArchiveSettings: secretArchiveSettings, supportExpireOn: supportExpireOn, updateStrategy: updateStrategy, vulnerabilityScanningContainerScan: vulnerabilityScanningContainerScan, workloadResourceIds: workloadResourceIds);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// Resource ETag.
+ /// The extended location of the cluster associated with the resource.
+ /// The credentials of the administrative interface on this storage appliance.
+ /// The total capacity of the storage appliance. Measured in GiB.
+ /// The amount of storage consumed.
+ /// The resource ID of the cluster this storage appliance is associated with. Measured in GiB.
+ /// The detailed status of the storage appliance.
+ /// The descriptive message about the current detailed status.
+ /// The endpoint for the management interface of the storage appliance.
+ /// The manufacturer of the storage appliance.
+ /// The model of the storage appliance.
+ /// The provisioning state of the storage appliance.
+ /// The resource ID of the rack where this storage appliance resides.
+ /// The slot the storage appliance is in the rack based on the BOM configuration.
+ /// The indicator of whether the storage appliance supports remote vendor management.
+ /// The indicator of whether the remote vendor management feature is enabled or disabled, or unsupported if it is an unsupported feature.
+ /// The list of statuses that represent secret rotation activity.
+ /// The serial number for the storage appliance.
+ /// The SKU for the storage appliance.
+ /// The version of the storage appliance.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static NetworkCloudStorageApplianceData NetworkCloudStorageApplianceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ETag? etag, ExtendedLocation extendedLocation, AdministrativeCredentials administratorCredentials, long? capacity, long? capacityUsed, ResourceIdentifier clusterId, StorageApplianceDetailedStatus? detailedStatus, string detailedStatusMessage, IPAddress managementIPv4Address, string manufacturer, string model, StorageApplianceProvisioningState? provisioningState, ResourceIdentifier rackId, long rackSlot, RemoteVendorManagementFeature? remoteVendorManagementFeature, RemoteVendorManagementStatus? remoteVendorManagementStatus, IEnumerable secretRotationStatus, string serialNumber, string storageApplianceSkuId, string version)
+ {
+ return NetworkCloudStorageApplianceData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: etag, extendedLocation: extendedLocation, administratorCredentials: administratorCredentials, caCertificate: default, capacity: capacity, capacityUsed: capacityUsed, clusterId: clusterId, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, managementIPv4Address: managementIPv4Address, manufacturer: manufacturer, model: model, provisioningState: provisioningState, rackId: rackId, rackSlot: rackSlot, remoteVendorManagementFeature: remoteVendorManagementFeature, remoteVendorManagementStatus: remoteVendorManagementStatus, secretRotationStatus: secretRotationStatus, serialNumber: serialNumber, storageApplianceSkuId: storageApplianceSkuId, version: version);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// Resource ETag.
+ /// The extended location of the cluster associated with the resource.
+ /// The name of the administrator to which the ssh public keys will be added into the authorized keys.
+ /// The cluster availability zone containing this virtual machine.
+ /// The resource ID of the bare metal machine that hosts the virtual machine.
+ /// Selects the boot method for the virtual machine.
+ /// The cloud service network that provides platform-level services for the virtual machine.
+ /// The resource ID of the cluster the virtual machine is created for.
+ /// The extended location to use for creation of a VM console resource.
+ /// The number of CPU cores in the virtual machine.
+ /// The more detailed status of the virtual machine.
+ /// The descriptive message about the current detailed status.
+ /// Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
+ /// The memory size of the virtual machine. Allocations are measured in gibibytes.
+ /// The list of network attachments to the virtual machine.
+ /// The Base64 encoded cloud-init network data.
+ /// The scheduling hints for the virtual machine.
+ /// The power state of the virtual machine.
+ /// The provisioning state of the virtual machine.
+ /// The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
+ /// The storage profile that specifies size and other parameters about the disks related to the virtual machine.
+ /// The Base64 encoded cloud-init user data.
+ /// Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
+ /// The type of the device model to use.
+ /// The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
+ /// The credentials used to login to the image repository that has access to the specified image.
+ /// The resource IDs of volumes that are attached to the virtual machine.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static NetworkCloudVirtualMachineData NetworkCloudVirtualMachineData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ETag? etag, ExtendedLocation extendedLocation, string adminUsername, string availabilityZone, ResourceIdentifier bareMetalMachineId, VirtualMachineBootMethod? bootMethod, NetworkAttachment cloudServicesNetworkAttachment, ResourceIdentifier clusterId, ExtendedLocation consoleExtendedLocation, long cpuCores, VirtualMachineDetailedStatus? detailedStatus, string detailedStatusMessage, VirtualMachineIsolateEmulatorThread? isolateEmulatorThread, long memorySizeInGB, IEnumerable networkAttachments, string networkData, IEnumerable placementHints, VirtualMachinePowerState? powerState, VirtualMachineProvisioningState? provisioningState, IEnumerable sshPublicKeys, NetworkCloudStorageProfile storageProfile, string userData, VirtualMachineVirtioInterfaceType? virtioInterface, VirtualMachineDeviceModelType? vmDeviceModel, string vmImage, ImageRepositoryCredentials vmImageRepositoryCredentials, IEnumerable volumes)
+ {
+ return NetworkCloudVirtualMachineData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: etag, extendedLocation: extendedLocation, identity: default, adminUsername: adminUsername, availabilityZone: availabilityZone, bareMetalMachineId: bareMetalMachineId, bootMethod: bootMethod, cloudServicesNetworkAttachment: cloudServicesNetworkAttachment, clusterId: clusterId, consoleExtendedLocation: consoleExtendedLocation, cpuCores: cpuCores, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, isolateEmulatorThread: isolateEmulatorThread, memorySizeInGB: memorySizeInGB, networkAttachments: networkAttachments, networkData: networkData, networkDataContent: default, placementHints: placementHints, powerState: powerState, provisioningState: provisioningState, sshPublicKeys: sshPublicKeys, storageProfile: storageProfile, userData: userData, userDataContent: default, virtioInterface: virtioInterface, vmDeviceModel: vmDeviceModel, vmImage: vmImage, vmImageRepositoryCredentials: vmImageRepositoryCredentials, volumes: volumes);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// Resource ETag.
+ /// The extended location of the cluster associated with the resource.
+ /// The list of resource IDs that attach the volume. It may include virtual machines and Hybrid AKS clusters.
+ /// The more detailed status of the volume.
+ /// The descriptive message about the current detailed status.
+ /// The provisioning state of the volume.
+ /// The unique identifier of the volume.
+ /// The size of the allocation for this volume in Mebibytes.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static NetworkCloudVolumeData NetworkCloudVolumeData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ETag? etag, ExtendedLocation extendedLocation, IEnumerable attachedTo, VolumeDetailedStatus? detailedStatus, string detailedStatusMessage, VolumeProvisioningState? provisioningState, string serialNumber, long sizeInMiB)
+ {
+ return NetworkCloudVolumeData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: etag, extendedLocation: extendedLocation, allocatedSizeMiB: default, attachedTo: attachedTo, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, provisioningState: provisioningState, serialNumber: serialNumber, sizeInMiB: sizeInMiB, storageApplianceId: default);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// Resource ETag.
+ /// The extended location of the cluster associated with the resource.
+ /// The object ID of Azure Active Directory group that all users in the list must be in for access to be granted. Users that are not in the group will not have access.
+ /// The more detailed status of the key set.
+ /// The descriptive message about the current detailed status.
+ /// The date and time after which the users in this key set will be removed from the bare metal machines.
+ /// The list of IP addresses of jump hosts with management network access from which a login will be allowed for the users.
+ /// The last time this key set was validated.
+ /// The name of the group that users will be assigned to on the operating system of the machines.
+ /// The access level allowed for the users in this key set.
+ /// The provisioning state of the bare metal machine key set.
+ /// The unique list of permitted users.
+ /// The status evaluation of each user.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static NetworkCloudBareMetalMachineKeySetData NetworkCloudBareMetalMachineKeySetData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ETag? etag, ExtendedLocation extendedLocation, string azureGroupId, BareMetalMachineKeySetDetailedStatus? detailedStatus, string detailedStatusMessage, DateTimeOffset expireOn, IEnumerable jumpHostsAllowed, DateTimeOffset? lastValidatedOn, string osGroupName, BareMetalMachineKeySetPrivilegeLevel privilegeLevel, BareMetalMachineKeySetProvisioningState? provisioningState, IEnumerable userList, IEnumerable userListStatus)
+ {
+ return NetworkCloudBareMetalMachineKeySetData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: etag, extendedLocation: extendedLocation, azureGroupId: azureGroupId, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, expireOn: expireOn, jumpHostsAllowed: jumpHostsAllowed, lastValidatedOn: lastValidatedOn, osGroupName: osGroupName, privilegeLevel: privilegeLevel, privilegeLevelName: default, provisioningState: provisioningState, userList: userList, userListStatus: userListStatus);
+ }
+
/// Initializes a new instance of .
/// The id.
/// The name.
@@ -1573,7 +1949,7 @@ public static NetworkCloudVirtualMachineConsoleData NetworkCloudVirtualMachineCo
[EditorBrowsable(EditorBrowsableState.Never)]
public static NetworkCloudBareMetalMachineData NetworkCloudBareMetalMachineData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, IEnumerable associatedResourceIds, string bmcConnectionString, AdministrativeCredentials bmcCredentials, string bmcMacAddress, string bootMacAddress, ResourceIdentifier clusterId, BareMetalMachineCordonStatus? cordonStatus, BareMetalMachineDetailedStatus? detailedStatus, string detailedStatusMessage, HardwareInventory hardwareInventory, HardwareValidationStatus hardwareValidationStatus, IEnumerable hybridAksClustersAssociatedIds, string kubernetesNodeName, string kubernetesVersion, string machineClusterVersion, string machineDetails, string machineName, IEnumerable machineRoles, string machineSkuId, IPAddress oamIPv4Address, string oamIPv6Address, string osImage, BareMetalMachinePowerState? powerState, BareMetalMachineProvisioningState? provisioningState, ResourceIdentifier rackId, long rackSlot, BareMetalMachineReadyState? readyState, RuntimeProtectionStatus runtimeProtectionStatus, IEnumerable secretRotationStatus, string serialNumber, string serviceTag, IEnumerable virtualMachinesAssociatedIds)
{
- return NetworkCloudBareMetalMachineData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, associatedResourceIds: associatedResourceIds, bmcConnectionString: bmcConnectionString, bmcCredentials: bmcCredentials, bmcMacAddress: bmcMacAddress, bootMacAddress: bootMacAddress, clusterId: clusterId, cordonStatus: cordonStatus, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, hardwareInventory: hardwareInventory, hardwareValidationStatus: hardwareValidationStatus, hybridAksClustersAssociatedIds: hybridAksClustersAssociatedIds, kubernetesNodeName: kubernetesNodeName, kubernetesVersion: kubernetesVersion, machineClusterVersion: machineClusterVersion, machineDetails: machineDetails, machineName: machineName, machineRoles: machineRoles, machineSkuId: machineSkuId, oamIPv4Address: oamIPv4Address, oamIPv6Address: oamIPv6Address, osImage: osImage, powerState: powerState, provisioningState: provisioningState, rackId: rackId, rackSlot: rackSlot, readyState: readyState, runtimeProtectionStatus: runtimeProtectionStatus, secretRotationStatus: secretRotationStatus, serialNumber: serialNumber, serviceTag: serviceTag, virtualMachinesAssociatedIds: virtualMachinesAssociatedIds);
+ return NetworkCloudBareMetalMachineData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, actionStates: default, associatedResourceIds: associatedResourceIds, bmcConnectionString: bmcConnectionString, bmcCredentials: bmcCredentials, bmcMacAddress: bmcMacAddress, bootMacAddress: bootMacAddress, caCertificate: default, clusterId: clusterId, cordonStatus: cordonStatus, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, hardwareInventory: hardwareInventory, hardwareValidationStatus: hardwareValidationStatus, hybridAksClustersAssociatedIds: hybridAksClustersAssociatedIds, kubernetesNodeName: kubernetesNodeName, kubernetesVersion: kubernetesVersion, machineClusterVersion: machineClusterVersion, machineDetails: machineDetails, machineName: machineName, machineRoles: machineRoles, machineSkuId: machineSkuId, oamIPv4Address: oamIPv4Address, oamIPv6Address: oamIPv6Address, osImage: osImage, powerState: powerState, provisioningState: provisioningState, rackId: rackId, rackSlot: rackSlot, readyState: readyState, runtimeProtectionStatus: runtimeProtectionStatus, secretRotationStatus: secretRotationStatus, serialNumber: serialNumber, serviceTag: serviceTag, virtualMachinesAssociatedIds: virtualMachinesAssociatedIds);
}
/// Initializes a new instance of .
@@ -1599,7 +1975,7 @@ public static NetworkCloudBareMetalMachineData NetworkCloudBareMetalMachineData(
[EditorBrowsable(EditorBrowsableState.Never)]
public static NetworkCloudCloudServicesNetworkData NetworkCloudCloudServicesNetworkData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, IEnumerable additionalEgressEndpoints, IEnumerable associatedResourceIds, ResourceIdentifier clusterId, CloudServicesNetworkDetailedStatus? detailedStatus, string detailedStatusMessage, CloudServicesNetworkEnableDefaultEgressEndpoint? enableDefaultEgressEndpoints, IEnumerable enabledEgressEndpoints, IEnumerable hybridAksClustersAssociatedIds, string interfaceName, CloudServicesNetworkProvisioningState? provisioningState, IEnumerable virtualMachinesAssociatedIds)
{
- return NetworkCloudCloudServicesNetworkData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, additionalEgressEndpoints: additionalEgressEndpoints, associatedResourceIds: associatedResourceIds, clusterId: clusterId, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, enableDefaultEgressEndpoints: enableDefaultEgressEndpoints, enabledEgressEndpoints: enabledEgressEndpoints, hybridAksClustersAssociatedIds: hybridAksClustersAssociatedIds, interfaceName: interfaceName, provisioningState: provisioningState, virtualMachinesAssociatedIds: virtualMachinesAssociatedIds);
+ return NetworkCloudCloudServicesNetworkData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, additionalEgressEndpoints: additionalEgressEndpoints, associatedResourceIds: associatedResourceIds, clusterId: clusterId, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, enableDefaultEgressEndpoints: enableDefaultEgressEndpoints, enabledEgressEndpoints: enabledEgressEndpoints, hybridAksClustersAssociatedIds: hybridAksClustersAssociatedIds, interfaceName: interfaceName, provisioningState: provisioningState, storageOptions: default, storageStatus: default, virtualMachinesAssociatedIds: virtualMachinesAssociatedIds);
}
/// Initializes a new instance of .
@@ -1670,7 +2046,7 @@ public static NetworkCloudClusterManagerData NetworkCloudClusterManagerData(Reso
[EditorBrowsable(EditorBrowsableState.Never)]
public static NetworkCloudClusterData NetworkCloudClusterData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, ManagedServiceIdentity identity, NetworkCloudRackDefinition aggregatorOrSingleRackDefinition, ResourceIdentifier analyticsWorkspaceId, IEnumerable availableUpgradeVersions, ClusterCapacity clusterCapacity, ClusterConnectionStatus? clusterConnectionStatus, ExtendedLocation clusterExtendedLocation, string clusterLocation, ClusterManagerConnectionStatus? clusterManagerConnectionStatus, ResourceIdentifier clusterManagerId, ServicePrincipalInformation clusterServicePrincipal, ClusterType clusterType, string clusterVersion, CommandOutputSettings commandOutputSettings, ValidationThreshold computeDeploymentThreshold, IEnumerable computeRackDefinitions, ClusterDetailedStatus? detailedStatus, string detailedStatusMessage, ExtendedLocation hybridAksExtendedLocation, ManagedResourceGroupConfiguration managedResourceGroupConfiguration, long? manualActionCount, ResourceIdentifier networkFabricId, ClusterProvisioningState? provisioningState, RuntimeProtectionEnforcementLevel? runtimeProtectionEnforcementLevel, ClusterSecretArchive secretArchive, DateTimeOffset? supportExpireOn, ClusterUpdateStrategy updateStrategy, IEnumerable workloadResourceIds)
{
- return NetworkCloudClusterData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, identity: identity, aggregatorOrSingleRackDefinition: aggregatorOrSingleRackDefinition, analyticsOutputSettings: default, analyticsWorkspaceId: analyticsWorkspaceId, availableUpgradeVersions: availableUpgradeVersions, clusterCapacity: clusterCapacity, clusterConnectionStatus: clusterConnectionStatus, clusterExtendedLocation: clusterExtendedLocation, clusterLocation: clusterLocation, clusterManagerConnectionStatus: clusterManagerConnectionStatus, clusterManagerId: clusterManagerId, clusterServicePrincipal: clusterServicePrincipal, clusterType: clusterType, clusterVersion: clusterVersion, commandOutputSettings: commandOutputSettings, computeDeploymentThreshold: computeDeploymentThreshold, computeRackDefinitions: computeRackDefinitions, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, hybridAksExtendedLocation: hybridAksExtendedLocation, managedResourceGroupConfiguration: managedResourceGroupConfiguration, manualActionCount: manualActionCount, networkFabricId: networkFabricId, provisioningState: provisioningState, runtimeProtectionEnforcementLevel: runtimeProtectionEnforcementLevel, secretArchive: secretArchive, secretArchiveSettings: default, supportExpireOn: supportExpireOn, updateStrategy: updateStrategy, vulnerabilityScanningContainerScan: default, workloadResourceIds: workloadResourceIds);
+ return NetworkCloudClusterData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, identity: identity, actionStates: default, aggregatorOrSingleRackDefinition: aggregatorOrSingleRackDefinition, analyticsOutputSettings: default, analyticsWorkspaceId: analyticsWorkspaceId, availableUpgradeVersions: availableUpgradeVersions, clusterCapacity: clusterCapacity, clusterConnectionStatus: clusterConnectionStatus, clusterExtendedLocation: clusterExtendedLocation, clusterLocation: clusterLocation, clusterManagerConnectionStatus: clusterManagerConnectionStatus, clusterManagerId: clusterManagerId, clusterServicePrincipal: clusterServicePrincipal, clusterType: clusterType, clusterVersion: clusterVersion, commandOutputSettings: commandOutputSettings, computeDeploymentThreshold: computeDeploymentThreshold, computeRackDefinitions: computeRackDefinitions, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, hybridAksExtendedLocation: hybridAksExtendedLocation, managedResourceGroupConfiguration: managedResourceGroupConfiguration, manualActionCount: manualActionCount, networkFabricId: networkFabricId, provisioningState: provisioningState, runtimeProtectionEnforcementLevel: runtimeProtectionEnforcementLevel, secretArchive: secretArchive, secretArchiveSettings: default, supportExpireOn: supportExpireOn, updateStrategy: updateStrategy, vulnerabilityScanningContainerScan: default, workloadResourceIds: workloadResourceIds);
}
/// Initializes a new instance of .
@@ -1819,7 +2195,7 @@ public static NetworkCloudRackData NetworkCloudRackData(ResourceIdentifier id, s
[EditorBrowsable(EditorBrowsableState.Never)]
public static NetworkCloudStorageApplianceData NetworkCloudStorageApplianceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, AdministrativeCredentials administratorCredentials, long? capacity, long? capacityUsed, ResourceIdentifier clusterId, StorageApplianceDetailedStatus? detailedStatus, string detailedStatusMessage, IPAddress managementIPv4Address, string manufacturer, string model, StorageApplianceProvisioningState? provisioningState, ResourceIdentifier rackId, long rackSlot, RemoteVendorManagementFeature? remoteVendorManagementFeature, RemoteVendorManagementStatus? remoteVendorManagementStatus, IEnumerable secretRotationStatus, string serialNumber, string storageApplianceSkuId, string version)
{
- return NetworkCloudStorageApplianceData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, administratorCredentials: administratorCredentials, capacity: capacity, capacityUsed: capacityUsed, clusterId: clusterId, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, managementIPv4Address: managementIPv4Address, manufacturer: manufacturer, model: model, provisioningState: provisioningState, rackId: rackId, rackSlot: rackSlot, remoteVendorManagementFeature: remoteVendorManagementFeature, remoteVendorManagementStatus: remoteVendorManagementStatus, secretRotationStatus: secretRotationStatus, serialNumber: serialNumber, storageApplianceSkuId: storageApplianceSkuId, version: version);
+ return NetworkCloudStorageApplianceData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, administratorCredentials: administratorCredentials, caCertificate: default, capacity: capacity, capacityUsed: capacityUsed, clusterId: clusterId, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, managementIPv4Address: managementIPv4Address, manufacturer: manufacturer, model: model, provisioningState: provisioningState, rackId: rackId, rackSlot: rackSlot, remoteVendorManagementFeature: remoteVendorManagementFeature, remoteVendorManagementStatus: remoteVendorManagementStatus, secretRotationStatus: secretRotationStatus, serialNumber: serialNumber, storageApplianceSkuId: storageApplianceSkuId, version: version);
}
/// Initializes a new instance of .
@@ -1884,7 +2260,7 @@ public static NetworkCloudTrunkedNetworkData NetworkCloudTrunkedNetworkData(Reso
[EditorBrowsable(EditorBrowsableState.Never)]
public static NetworkCloudVirtualMachineData NetworkCloudVirtualMachineData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string adminUsername, string availabilityZone, ResourceIdentifier bareMetalMachineId, VirtualMachineBootMethod? bootMethod, NetworkAttachment cloudServicesNetworkAttachment, ResourceIdentifier clusterId, long cpuCores, VirtualMachineDetailedStatus? detailedStatus, string detailedStatusMessage, VirtualMachineIsolateEmulatorThread? isolateEmulatorThread, long memorySizeInGB, IEnumerable networkAttachments, string networkData, IEnumerable placementHints, VirtualMachinePowerState? powerState, VirtualMachineProvisioningState? provisioningState, IEnumerable sshPublicKeys, NetworkCloudStorageProfile storageProfile, string userData, VirtualMachineVirtioInterfaceType? virtioInterface, VirtualMachineDeviceModelType? vmDeviceModel, string vmImage, ImageRepositoryCredentials vmImageRepositoryCredentials, IEnumerable volumes)
{
- return NetworkCloudVirtualMachineData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, adminUsername: adminUsername, availabilityZone: availabilityZone, bareMetalMachineId: bareMetalMachineId, bootMethod: bootMethod, cloudServicesNetworkAttachment: cloudServicesNetworkAttachment, clusterId: clusterId, consoleExtendedLocation: default, cpuCores: cpuCores, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, isolateEmulatorThread: isolateEmulatorThread, memorySizeInGB: memorySizeInGB, networkAttachments: networkAttachments, networkData: networkData, placementHints: placementHints, powerState: powerState, provisioningState: provisioningState, sshPublicKeys: sshPublicKeys, storageProfile: storageProfile, userData: userData, virtioInterface: virtioInterface, vmDeviceModel: vmDeviceModel, vmImage: vmImage, vmImageRepositoryCredentials: vmImageRepositoryCredentials, volumes: volumes);
+ return NetworkCloudVirtualMachineData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, identity: default, adminUsername: adminUsername, availabilityZone: availabilityZone, bareMetalMachineId: bareMetalMachineId, bootMethod: bootMethod, cloudServicesNetworkAttachment: cloudServicesNetworkAttachment, clusterId: clusterId, consoleExtendedLocation: default, cpuCores: cpuCores, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, isolateEmulatorThread: isolateEmulatorThread, memorySizeInGB: memorySizeInGB, networkAttachments: networkAttachments, networkData: networkData, networkDataContent: default, placementHints: placementHints, powerState: powerState, provisioningState: provisioningState, sshPublicKeys: sshPublicKeys, storageProfile: storageProfile, userData: userData, userDataContent: default, virtioInterface: virtioInterface, vmDeviceModel: vmDeviceModel, vmImage: vmImage, vmImageRepositoryCredentials: vmImageRepositoryCredentials, volumes: volumes);
}
/// Initializes a new instance of .
@@ -1905,7 +2281,7 @@ public static NetworkCloudVirtualMachineData NetworkCloudVirtualMachineData(Reso
[EditorBrowsable(EditorBrowsableState.Never)]
public static NetworkCloudVolumeData NetworkCloudVolumeData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, IEnumerable attachedTo, VolumeDetailedStatus? detailedStatus, string detailedStatusMessage, VolumeProvisioningState? provisioningState, string serialNumber, long sizeInMiB)
{
- return NetworkCloudVolumeData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, attachedTo: attachedTo, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, provisioningState: provisioningState, serialNumber: serialNumber, sizeInMiB: sizeInMiB);
+ return NetworkCloudVolumeData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, allocatedSizeMiB: default, attachedTo: attachedTo, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, provisioningState: provisioningState, serialNumber: serialNumber, sizeInMiB: sizeInMiB, storageApplianceId: default);
}
/// Initializes a new instance of .
@@ -1931,7 +2307,7 @@ public static NetworkCloudVolumeData NetworkCloudVolumeData(ResourceIdentifier i
[EditorBrowsable(EditorBrowsableState.Never)]
public static NetworkCloudBareMetalMachineKeySetData NetworkCloudBareMetalMachineKeySetData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string azureGroupId, BareMetalMachineKeySetDetailedStatus? detailedStatus, string detailedStatusMessage, DateTimeOffset expireOn, IEnumerable jumpHostsAllowed, DateTimeOffset? lastValidatedOn, string osGroupName, BareMetalMachineKeySetPrivilegeLevel privilegeLevel, BareMetalMachineKeySetProvisioningState? provisioningState, IEnumerable userList, IEnumerable userListStatus)
{
- return NetworkCloudBareMetalMachineKeySetData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, azureGroupId: azureGroupId, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, expireOn: expireOn, jumpHostsAllowed: jumpHostsAllowed, lastValidatedOn: lastValidatedOn, osGroupName: osGroupName, privilegeLevel: privilegeLevel, provisioningState: provisioningState, userList: userList, userListStatus: userListStatus);
+ return NetworkCloudBareMetalMachineKeySetData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, azureGroupId: azureGroupId, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, expireOn: expireOn, jumpHostsAllowed: jumpHostsAllowed, lastValidatedOn: lastValidatedOn, osGroupName: osGroupName, privilegeLevel: privilegeLevel, privilegeLevelName: default, provisioningState: provisioningState, userList: userList, userListStatus: userListStatus);
}
/// Initializes a new instance of .
@@ -2092,7 +2468,7 @@ public static NetworkCloudVirtualMachineConsoleData NetworkCloudVirtualMachineCo
[EditorBrowsable(EditorBrowsableState.Never)]
public static NetworkCloudBareMetalMachineData NetworkCloudBareMetalMachineData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, IEnumerable associatedResourceIds, string bmcConnectionString, AdministrativeCredentials bmcCredentials, string bmcMacAddress, string bootMacAddress, ResourceIdentifier clusterId, BareMetalMachineCordonStatus? cordonStatus, BareMetalMachineDetailedStatus? detailedStatus, string detailedStatusMessage, HardwareInventory hardwareInventory, HardwareValidationStatus hardwareValidationStatus, IEnumerable hybridAksClustersAssociatedIds, string kubernetesNodeName, string kubernetesVersion, string machineDetails, string machineName, string machineSkuId, IPAddress oamIPv4Address, string oamIPv6Address, string osImage, BareMetalMachinePowerState? powerState, BareMetalMachineProvisioningState? provisioningState, ResourceIdentifier rackId, long rackSlot, BareMetalMachineReadyState? readyState, string serialNumber, string serviceTag, IEnumerable virtualMachinesAssociatedIds)
{
- return NetworkCloudBareMetalMachineData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, associatedResourceIds: associatedResourceIds, bmcConnectionString: bmcConnectionString, bmcCredentials: bmcCredentials, bmcMacAddress: bmcMacAddress, bootMacAddress: bootMacAddress, clusterId: clusterId, cordonStatus: cordonStatus, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, hardwareInventory: hardwareInventory, hardwareValidationStatus: hardwareValidationStatus, hybridAksClustersAssociatedIds: hybridAksClustersAssociatedIds, kubernetesNodeName: kubernetesNodeName, kubernetesVersion: kubernetesVersion, machineClusterVersion: default, machineDetails: machineDetails, machineName: machineName, machineRoles: default, machineSkuId: machineSkuId, oamIPv4Address: oamIPv4Address, oamIPv6Address: oamIPv6Address, osImage: osImage, powerState: powerState, provisioningState: provisioningState, rackId: rackId, rackSlot: rackSlot, readyState: readyState, runtimeProtectionStatus: default, secretRotationStatus: default, serialNumber: serialNumber, serviceTag: serviceTag, virtualMachinesAssociatedIds: virtualMachinesAssociatedIds);
+ return NetworkCloudBareMetalMachineData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, actionStates: default, associatedResourceIds: associatedResourceIds, bmcConnectionString: bmcConnectionString, bmcCredentials: bmcCredentials, bmcMacAddress: bmcMacAddress, bootMacAddress: bootMacAddress, caCertificate: default, clusterId: clusterId, cordonStatus: cordonStatus, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, hardwareInventory: hardwareInventory, hardwareValidationStatus: hardwareValidationStatus, hybridAksClustersAssociatedIds: hybridAksClustersAssociatedIds, kubernetesNodeName: kubernetesNodeName, kubernetesVersion: kubernetesVersion, machineClusterVersion: default, machineDetails: machineDetails, machineName: machineName, machineRoles: default, machineSkuId: machineSkuId, oamIPv4Address: oamIPv4Address, oamIPv6Address: oamIPv6Address, osImage: osImage, powerState: powerState, provisioningState: provisioningState, rackId: rackId, rackSlot: rackSlot, readyState: readyState, runtimeProtectionStatus: default, secretRotationStatus: default, serialNumber: serialNumber, serviceTag: serviceTag, virtualMachinesAssociatedIds: virtualMachinesAssociatedIds);
}
/// Initializes a new instance of .
@@ -2157,7 +2533,7 @@ public static NetworkCloudClusterManagerData NetworkCloudClusterManagerData(Reso
[EditorBrowsable(EditorBrowsableState.Never)]
public static NetworkCloudClusterData NetworkCloudClusterData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, NetworkCloudRackDefinition aggregatorOrSingleRackDefinition, ResourceIdentifier analyticsWorkspaceId, IEnumerable availableUpgradeVersions, ClusterCapacity clusterCapacity, ClusterConnectionStatus? clusterConnectionStatus, ExtendedLocation clusterExtendedLocation, string clusterLocation, ClusterManagerConnectionStatus? clusterManagerConnectionStatus, ResourceIdentifier clusterManagerId, ServicePrincipalInformation clusterServicePrincipal, ClusterType clusterType, string clusterVersion, ValidationThreshold computeDeploymentThreshold, IEnumerable computeRackDefinitions, ClusterDetailedStatus? detailedStatus, string detailedStatusMessage, ExtendedLocation hybridAksExtendedLocation, ManagedResourceGroupConfiguration managedResourceGroupConfiguration, long? manualActionCount, ResourceIdentifier networkFabricId, ClusterProvisioningState? provisioningState, DateTimeOffset? supportExpireOn, IEnumerable workloadResourceIds)
{
- return NetworkCloudClusterData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, identity: default, aggregatorOrSingleRackDefinition: aggregatorOrSingleRackDefinition, analyticsOutputSettings: default, analyticsWorkspaceId: analyticsWorkspaceId, availableUpgradeVersions: availableUpgradeVersions, clusterCapacity: clusterCapacity, clusterConnectionStatus: clusterConnectionStatus, clusterExtendedLocation: clusterExtendedLocation, clusterLocation: clusterLocation, clusterManagerConnectionStatus: clusterManagerConnectionStatus, clusterManagerId: clusterManagerId, clusterServicePrincipal: clusterServicePrincipal, clusterType: clusterType, clusterVersion: clusterVersion, commandOutputSettings: default, computeDeploymentThreshold: computeDeploymentThreshold, computeRackDefinitions: computeRackDefinitions, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, hybridAksExtendedLocation: hybridAksExtendedLocation, managedResourceGroupConfiguration: managedResourceGroupConfiguration, manualActionCount: manualActionCount, networkFabricId: networkFabricId, provisioningState: provisioningState, runtimeProtectionEnforcementLevel: default, secretArchive: default, secretArchiveSettings: default, supportExpireOn: supportExpireOn, updateStrategy: default, vulnerabilityScanningContainerScan: default, workloadResourceIds: workloadResourceIds);
+ return NetworkCloudClusterData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, identity: default, actionStates: default, aggregatorOrSingleRackDefinition: aggregatorOrSingleRackDefinition, analyticsOutputSettings: default, analyticsWorkspaceId: analyticsWorkspaceId, availableUpgradeVersions: availableUpgradeVersions, clusterCapacity: clusterCapacity, clusterConnectionStatus: clusterConnectionStatus, clusterExtendedLocation: clusterExtendedLocation, clusterLocation: clusterLocation, clusterManagerConnectionStatus: clusterManagerConnectionStatus, clusterManagerId: clusterManagerId, clusterServicePrincipal: clusterServicePrincipal, clusterType: clusterType, clusterVersion: clusterVersion, commandOutputSettings: default, computeDeploymentThreshold: computeDeploymentThreshold, computeRackDefinitions: computeRackDefinitions, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, hybridAksExtendedLocation: hybridAksExtendedLocation, managedResourceGroupConfiguration: managedResourceGroupConfiguration, manualActionCount: manualActionCount, networkFabricId: networkFabricId, provisioningState: provisioningState, runtimeProtectionEnforcementLevel: default, secretArchive: default, secretArchiveSettings: default, supportExpireOn: supportExpireOn, updateStrategy: default, vulnerabilityScanningContainerScan: default, workloadResourceIds: workloadResourceIds);
}
/// Initializes a new instance of .
@@ -2186,7 +2562,7 @@ public static NetworkCloudClusterData NetworkCloudClusterData(ResourceIdentifier
[EditorBrowsable(EditorBrowsableState.Never)]
public static NetworkCloudStorageApplianceData NetworkCloudStorageApplianceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, AdministrativeCredentials administratorCredentials, long? capacity, long? capacityUsed, ResourceIdentifier clusterId, StorageApplianceDetailedStatus? detailedStatus, string detailedStatusMessage, IPAddress managementIPv4Address, StorageApplianceProvisioningState? provisioningState, ResourceIdentifier rackId, long rackSlot, RemoteVendorManagementFeature? remoteVendorManagementFeature, RemoteVendorManagementStatus? remoteVendorManagementStatus, string serialNumber, string storageApplianceSkuId)
{
- return NetworkCloudStorageApplianceData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, administratorCredentials: administratorCredentials, capacity: capacity, capacityUsed: capacityUsed, clusterId: clusterId, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, managementIPv4Address: managementIPv4Address, manufacturer: default, model: default, provisioningState: provisioningState, rackId: rackId, rackSlot: rackSlot, remoteVendorManagementFeature: remoteVendorManagementFeature, remoteVendorManagementStatus: remoteVendorManagementStatus, secretRotationStatus: default, serialNumber: serialNumber, storageApplianceSkuId: storageApplianceSkuId, version: default);
+ return NetworkCloudStorageApplianceData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, etag: default, extendedLocation: extendedLocation, administratorCredentials: administratorCredentials, caCertificate: default, capacity: capacity, capacityUsed: capacityUsed, clusterId: clusterId, detailedStatus: detailedStatus, detailedStatusMessage: detailedStatusMessage, managementIPv4Address: managementIPv4Address, manufacturer: default, model: default, provisioningState: provisioningState, rackId: rackId, rackSlot: rackSlot, remoteVendorManagementFeature: remoteVendorManagementFeature, remoteVendorManagementStatus: remoteVendorManagementStatus, secretRotationStatus: default, serialNumber: serialNumber, storageApplianceSkuId: storageApplianceSkuId, version: default);
}
/// Initializes a new instance of .
diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Extensions/MockableNetworkCloudResourceGroupResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Extensions/MockableNetworkCloudResourceGroupResource.cs
index ab8bdc8d8f17..1b8069e20154 100644
--- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Extensions/MockableNetworkCloudResourceGroupResource.cs
+++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Extensions/MockableNetworkCloudResourceGroupResource.cs
@@ -53,7 +53,7 @@ public virtual NetworkCloudBareMetalMachineCollection GetNetworkCloudBareMetalMa
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -84,7 +84,7 @@ public virtual async Task> GetNet
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -122,7 +122,7 @@ public virtual NetworkCloudCloudServicesNetworkCollection GetNetworkCloudCloudSe
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -153,7 +153,7 @@ public virtual async Task> Ge
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -191,7 +191,7 @@ public virtual NetworkCloudClusterManagerCollection GetNetworkCloudClusterManage
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -222,7 +222,7 @@ public virtual async Task> GetNetwo
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -260,7 +260,7 @@ public virtual NetworkCloudClusterCollection GetNetworkCloudClusters()
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -291,7 +291,7 @@ public virtual async Task> GetNetworkCloud
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -329,7 +329,7 @@ public virtual NetworkCloudKubernetesClusterCollection GetNetworkCloudKubernetes
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -360,7 +360,7 @@ public virtual async Task> GetNe
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -398,7 +398,7 @@ public virtual NetworkCloudL2NetworkCollection GetNetworkCloudL2Networks()
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -429,7 +429,7 @@ public virtual async Task> GetNetworkClo
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -467,7 +467,7 @@ public virtual NetworkCloudL3NetworkCollection GetNetworkCloudL3Networks()
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -498,7 +498,7 @@ public virtual async Task> GetNetworkClo
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -536,7 +536,7 @@ public virtual NetworkCloudRackCollection GetNetworkCloudRacks()
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -567,7 +567,7 @@ public virtual async Task> GetNetworkCloudRac
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -605,7 +605,7 @@ public virtual NetworkCloudStorageApplianceCollection GetNetworkCloudStorageAppl
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -636,7 +636,7 @@ public virtual async Task> GetNet
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -674,7 +674,7 @@ public virtual NetworkCloudTrunkedNetworkCollection GetNetworkCloudTrunkedNetwor
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -705,7 +705,7 @@ public virtual async Task> GetNetwo
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -743,7 +743,7 @@ public virtual NetworkCloudVirtualMachineCollection GetNetworkCloudVirtualMachin
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -774,7 +774,7 @@ public virtual async Task> GetNetwo
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -812,7 +812,7 @@ public virtual NetworkCloudVolumeCollection GetNetworkCloudVolumes()
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -843,7 +843,7 @@ public virtual async Task> GetNetworkCloudV
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Extensions/MockableNetworkCloudSubscriptionResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Extensions/MockableNetworkCloudSubscriptionResource.cs
index 3bd38414c7e6..5f167d3a445d 100644
--- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Extensions/MockableNetworkCloudSubscriptionResource.cs
+++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Extensions/MockableNetworkCloudSubscriptionResource.cs
@@ -105,7 +105,7 @@ public virtual NetworkCloudRackSkuCollection GetNetworkCloudRackSkus()
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -136,7 +136,7 @@ public virtual async Task> GetNetworkCloud
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -167,7 +167,7 @@ public virtual Response GetNetworkCloudRackSku(stri
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -175,12 +175,14 @@ public virtual Response GetNetworkCloudRackSku(stri
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// An async collection of that may take multiple service requests to iterate over.
- public virtual AsyncPageable GetNetworkCloudBareMetalMachinesAsync(CancellationToken cancellationToken = default)
+ public virtual AsyncPageable GetNetworkCloudBareMetalMachinesAsync(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudBareMetalMachineBareMetalMachinesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudBareMetalMachineBareMetalMachinesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudBareMetalMachineBareMetalMachinesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudBareMetalMachineBareMetalMachinesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudBareMetalMachineResource(Client, NetworkCloudBareMetalMachineData.DeserializeNetworkCloudBareMetalMachineData(e)), NetworkCloudBareMetalMachineBareMetalMachinesClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudBareMetalMachines", "value", "nextLink", cancellationToken);
}
@@ -197,7 +199,7 @@ public virtual AsyncPageable GetNetworkClo
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -205,12 +207,14 @@ public virtual AsyncPageable GetNetworkClo
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// A collection of that may take multiple service requests to iterate over.
- public virtual Pageable GetNetworkCloudBareMetalMachines(CancellationToken cancellationToken = default)
+ public virtual Pageable GetNetworkCloudBareMetalMachines(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudBareMetalMachineBareMetalMachinesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudBareMetalMachineBareMetalMachinesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudBareMetalMachineBareMetalMachinesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudBareMetalMachineBareMetalMachinesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudBareMetalMachineResource(Client, NetworkCloudBareMetalMachineData.DeserializeNetworkCloudBareMetalMachineData(e)), NetworkCloudBareMetalMachineBareMetalMachinesClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudBareMetalMachines", "value", "nextLink", cancellationToken);
}
@@ -227,7 +231,7 @@ public virtual Pageable GetNetworkCloudBar
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -235,12 +239,14 @@ public virtual Pageable GetNetworkCloudBar
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// An async collection of that may take multiple service requests to iterate over.
- public virtual AsyncPageable GetNetworkCloudCloudServicesNetworksAsync(CancellationToken cancellationToken = default)
+ public virtual AsyncPageable GetNetworkCloudCloudServicesNetworksAsync(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudCloudServicesNetworkCloudServicesNetworksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudCloudServicesNetworkCloudServicesNetworksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudCloudServicesNetworkCloudServicesNetworksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudCloudServicesNetworkCloudServicesNetworksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudCloudServicesNetworkResource(Client, NetworkCloudCloudServicesNetworkData.DeserializeNetworkCloudCloudServicesNetworkData(e)), NetworkCloudCloudServicesNetworkCloudServicesNetworksClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudCloudServicesNetworks", "value", "nextLink", cancellationToken);
}
@@ -257,7 +263,7 @@ public virtual AsyncPageable GetNetwor
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -265,12 +271,14 @@ public virtual AsyncPageable GetNetwor
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// A collection of that may take multiple service requests to iterate over.
- public virtual Pageable GetNetworkCloudCloudServicesNetworks(CancellationToken cancellationToken = default)
+ public virtual Pageable GetNetworkCloudCloudServicesNetworks(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudCloudServicesNetworkCloudServicesNetworksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudCloudServicesNetworkCloudServicesNetworksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudCloudServicesNetworkCloudServicesNetworksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudCloudServicesNetworkCloudServicesNetworksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudCloudServicesNetworkResource(Client, NetworkCloudCloudServicesNetworkData.DeserializeNetworkCloudCloudServicesNetworkData(e)), NetworkCloudCloudServicesNetworkCloudServicesNetworksClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudCloudServicesNetworks", "value", "nextLink", cancellationToken);
}
@@ -287,7 +295,7 @@ public virtual Pageable GetNetworkClou
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -295,12 +303,14 @@ public virtual Pageable GetNetworkClou
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// An async collection of that may take multiple service requests to iterate over.
- public virtual AsyncPageable GetNetworkCloudClusterManagersAsync(CancellationToken cancellationToken = default)
+ public virtual AsyncPageable GetNetworkCloudClusterManagersAsync(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudClusterManagerClusterManagersRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudClusterManagerClusterManagersRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudClusterManagerClusterManagersRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudClusterManagerClusterManagersRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudClusterManagerResource(Client, NetworkCloudClusterManagerData.DeserializeNetworkCloudClusterManagerData(e)), NetworkCloudClusterManagerClusterManagersClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudClusterManagers", "value", "nextLink", cancellationToken);
}
@@ -317,7 +327,7 @@ public virtual AsyncPageable GetNetworkCloud
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -325,12 +335,14 @@ public virtual AsyncPageable GetNetworkCloud
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// A collection of that may take multiple service requests to iterate over.
- public virtual Pageable GetNetworkCloudClusterManagers(CancellationToken cancellationToken = default)
+ public virtual Pageable GetNetworkCloudClusterManagers(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudClusterManagerClusterManagersRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudClusterManagerClusterManagersRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudClusterManagerClusterManagersRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudClusterManagerClusterManagersRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudClusterManagerResource(Client, NetworkCloudClusterManagerData.DeserializeNetworkCloudClusterManagerData(e)), NetworkCloudClusterManagerClusterManagersClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudClusterManagers", "value", "nextLink", cancellationToken);
}
@@ -347,7 +359,7 @@ public virtual Pageable GetNetworkCloudClust
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -355,12 +367,14 @@ public virtual Pageable GetNetworkCloudClust
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// An async collection of that may take multiple service requests to iterate over.
- public virtual AsyncPageable GetNetworkCloudClustersAsync(CancellationToken cancellationToken = default)
+ public virtual AsyncPageable GetNetworkCloudClustersAsync(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudClusterClustersRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudClusterClustersRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudClusterClustersRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudClusterClustersRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudClusterResource(Client, NetworkCloudClusterData.DeserializeNetworkCloudClusterData(e)), NetworkCloudClusterClustersClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudClusters", "value", "nextLink", cancellationToken);
}
@@ -377,7 +391,7 @@ public virtual AsyncPageable GetNetworkCloudCluster
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -385,12 +399,14 @@ public virtual AsyncPageable GetNetworkCloudCluster
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// A collection of that may take multiple service requests to iterate over.
- public virtual Pageable GetNetworkCloudClusters(CancellationToken cancellationToken = default)
+ public virtual Pageable GetNetworkCloudClusters(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudClusterClustersRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudClusterClustersRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudClusterClustersRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudClusterClustersRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudClusterResource(Client, NetworkCloudClusterData.DeserializeNetworkCloudClusterData(e)), NetworkCloudClusterClustersClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudClusters", "value", "nextLink", cancellationToken);
}
@@ -407,7 +423,7 @@ public virtual Pageable GetNetworkCloudClusters(Can
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -415,12 +431,14 @@ public virtual Pageable GetNetworkCloudClusters(Can
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// An async collection of that may take multiple service requests to iterate over.
- public virtual AsyncPageable GetNetworkCloudKubernetesClustersAsync(CancellationToken cancellationToken = default)
+ public virtual AsyncPageable GetNetworkCloudKubernetesClustersAsync(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudKubernetesClusterKubernetesClustersRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudKubernetesClusterKubernetesClustersRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudKubernetesClusterKubernetesClustersRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudKubernetesClusterKubernetesClustersRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudKubernetesClusterResource(Client, NetworkCloudKubernetesClusterData.DeserializeNetworkCloudKubernetesClusterData(e)), NetworkCloudKubernetesClusterKubernetesClustersClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudKubernetesClusters", "value", "nextLink", cancellationToken);
}
@@ -437,7 +455,7 @@ public virtual AsyncPageable GetNetworkCl
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -445,12 +463,14 @@ public virtual AsyncPageable GetNetworkCl
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// A collection of that may take multiple service requests to iterate over.
- public virtual Pageable GetNetworkCloudKubernetesClusters(CancellationToken cancellationToken = default)
+ public virtual Pageable GetNetworkCloudKubernetesClusters(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudKubernetesClusterKubernetesClustersRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudKubernetesClusterKubernetesClustersRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudKubernetesClusterKubernetesClustersRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudKubernetesClusterKubernetesClustersRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudKubernetesClusterResource(Client, NetworkCloudKubernetesClusterData.DeserializeNetworkCloudKubernetesClusterData(e)), NetworkCloudKubernetesClusterKubernetesClustersClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudKubernetesClusters", "value", "nextLink", cancellationToken);
}
@@ -467,7 +487,7 @@ public virtual Pageable GetNetworkCloudKu
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -475,12 +495,14 @@ public virtual Pageable GetNetworkCloudKu
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// An async collection of that may take multiple service requests to iterate over.
- public virtual AsyncPageable GetNetworkCloudL2NetworksAsync(CancellationToken cancellationToken = default)
+ public virtual AsyncPageable GetNetworkCloudL2NetworksAsync(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudL2NetworkL2NetworksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudL2NetworkL2NetworksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudL2NetworkL2NetworksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudL2NetworkL2NetworksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudL2NetworkResource(Client, NetworkCloudL2NetworkData.DeserializeNetworkCloudL2NetworkData(e)), NetworkCloudL2NetworkL2NetworksClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudL2Networks", "value", "nextLink", cancellationToken);
}
@@ -497,7 +519,7 @@ public virtual AsyncPageable GetNetworkCloudL2Net
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -505,12 +527,14 @@ public virtual AsyncPageable GetNetworkCloudL2Net
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// A collection of that may take multiple service requests to iterate over.
- public virtual Pageable GetNetworkCloudL2Networks(CancellationToken cancellationToken = default)
+ public virtual Pageable GetNetworkCloudL2Networks(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudL2NetworkL2NetworksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudL2NetworkL2NetworksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudL2NetworkL2NetworksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudL2NetworkL2NetworksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudL2NetworkResource(Client, NetworkCloudL2NetworkData.DeserializeNetworkCloudL2NetworkData(e)), NetworkCloudL2NetworkL2NetworksClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudL2Networks", "value", "nextLink", cancellationToken);
}
@@ -527,7 +551,7 @@ public virtual Pageable GetNetworkCloudL2Networks
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -535,12 +559,14 @@ public virtual Pageable GetNetworkCloudL2Networks
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// An async collection of that may take multiple service requests to iterate over.
- public virtual AsyncPageable GetNetworkCloudL3NetworksAsync(CancellationToken cancellationToken = default)
+ public virtual AsyncPageable GetNetworkCloudL3NetworksAsync(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudL3NetworkL3NetworksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudL3NetworkL3NetworksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudL3NetworkL3NetworksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudL3NetworkL3NetworksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudL3NetworkResource(Client, NetworkCloudL3NetworkData.DeserializeNetworkCloudL3NetworkData(e)), NetworkCloudL3NetworkL3NetworksClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudL3Networks", "value", "nextLink", cancellationToken);
}
@@ -557,7 +583,7 @@ public virtual AsyncPageable GetNetworkCloudL3Net
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -565,12 +591,14 @@ public virtual AsyncPageable GetNetworkCloudL3Net
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// A collection of that may take multiple service requests to iterate over.
- public virtual Pageable GetNetworkCloudL3Networks(CancellationToken cancellationToken = default)
+ public virtual Pageable GetNetworkCloudL3Networks(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudL3NetworkL3NetworksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudL3NetworkL3NetworksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudL3NetworkL3NetworksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudL3NetworkL3NetworksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudL3NetworkResource(Client, NetworkCloudL3NetworkData.DeserializeNetworkCloudL3NetworkData(e)), NetworkCloudL3NetworkL3NetworksClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudL3Networks", "value", "nextLink", cancellationToken);
}
@@ -587,7 +615,7 @@ public virtual Pageable GetNetworkCloudL3Networks
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -595,12 +623,14 @@ public virtual Pageable GetNetworkCloudL3Networks
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// An async collection of that may take multiple service requests to iterate over.
- public virtual AsyncPageable GetNetworkCloudRacksAsync(CancellationToken cancellationToken = default)
+ public virtual AsyncPageable GetNetworkCloudRacksAsync(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudRackRacksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudRackRacksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudRackRacksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudRackRacksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudRackResource(Client, NetworkCloudRackData.DeserializeNetworkCloudRackData(e)), NetworkCloudRackRacksClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudRacks", "value", "nextLink", cancellationToken);
}
@@ -617,7 +647,7 @@ public virtual AsyncPageable GetNetworkCloudRacksAsync
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -625,12 +655,14 @@ public virtual AsyncPageable GetNetworkCloudRacksAsync
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// A collection of that may take multiple service requests to iterate over.
- public virtual Pageable GetNetworkCloudRacks(CancellationToken cancellationToken = default)
+ public virtual Pageable GetNetworkCloudRacks(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudRackRacksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudRackRacksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudRackRacksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudRackRacksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudRackResource(Client, NetworkCloudRackData.DeserializeNetworkCloudRackData(e)), NetworkCloudRackRacksClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudRacks", "value", "nextLink", cancellationToken);
}
@@ -647,7 +679,7 @@ public virtual Pageable GetNetworkCloudRacks(Cancellat
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -655,12 +687,14 @@ public virtual Pageable GetNetworkCloudRacks(Cancellat
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// An async collection of that may take multiple service requests to iterate over.
- public virtual AsyncPageable GetNetworkCloudStorageAppliancesAsync(CancellationToken cancellationToken = default)
+ public virtual AsyncPageable GetNetworkCloudStorageAppliancesAsync(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudStorageApplianceStorageAppliancesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudStorageApplianceStorageAppliancesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudStorageApplianceStorageAppliancesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudStorageApplianceStorageAppliancesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudStorageApplianceResource(Client, NetworkCloudStorageApplianceData.DeserializeNetworkCloudStorageApplianceData(e)), NetworkCloudStorageApplianceStorageAppliancesClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudStorageAppliances", "value", "nextLink", cancellationToken);
}
@@ -677,7 +711,7 @@ public virtual AsyncPageable GetNetworkClo
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -685,12 +719,14 @@ public virtual AsyncPageable GetNetworkClo
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// A collection of that may take multiple service requests to iterate over.
- public virtual Pageable GetNetworkCloudStorageAppliances(CancellationToken cancellationToken = default)
+ public virtual Pageable GetNetworkCloudStorageAppliances(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudStorageApplianceStorageAppliancesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudStorageApplianceStorageAppliancesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudStorageApplianceStorageAppliancesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudStorageApplianceStorageAppliancesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudStorageApplianceResource(Client, NetworkCloudStorageApplianceData.DeserializeNetworkCloudStorageApplianceData(e)), NetworkCloudStorageApplianceStorageAppliancesClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudStorageAppliances", "value", "nextLink", cancellationToken);
}
@@ -707,7 +743,7 @@ public virtual Pageable GetNetworkCloudSto
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -715,12 +751,14 @@ public virtual Pageable GetNetworkCloudSto
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// An async collection of that may take multiple service requests to iterate over.
- public virtual AsyncPageable GetNetworkCloudTrunkedNetworksAsync(CancellationToken cancellationToken = default)
+ public virtual AsyncPageable GetNetworkCloudTrunkedNetworksAsync(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudTrunkedNetworkTrunkedNetworksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudTrunkedNetworkTrunkedNetworksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudTrunkedNetworkTrunkedNetworksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudTrunkedNetworkTrunkedNetworksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudTrunkedNetworkResource(Client, NetworkCloudTrunkedNetworkData.DeserializeNetworkCloudTrunkedNetworkData(e)), NetworkCloudTrunkedNetworkTrunkedNetworksClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudTrunkedNetworks", "value", "nextLink", cancellationToken);
}
@@ -737,7 +775,7 @@ public virtual AsyncPageable GetNetworkCloud
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -745,12 +783,14 @@ public virtual AsyncPageable GetNetworkCloud
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// A collection of that may take multiple service requests to iterate over.
- public virtual Pageable GetNetworkCloudTrunkedNetworks(CancellationToken cancellationToken = default)
+ public virtual Pageable GetNetworkCloudTrunkedNetworks(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudTrunkedNetworkTrunkedNetworksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudTrunkedNetworkTrunkedNetworksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudTrunkedNetworkTrunkedNetworksRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudTrunkedNetworkTrunkedNetworksRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudTrunkedNetworkResource(Client, NetworkCloudTrunkedNetworkData.DeserializeNetworkCloudTrunkedNetworkData(e)), NetworkCloudTrunkedNetworkTrunkedNetworksClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudTrunkedNetworks", "value", "nextLink", cancellationToken);
}
@@ -767,7 +807,7 @@ public virtual Pageable GetNetworkCloudTrunk
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -775,12 +815,14 @@ public virtual Pageable GetNetworkCloudTrunk
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// An async collection of that may take multiple service requests to iterate over.
- public virtual AsyncPageable GetNetworkCloudVirtualMachinesAsync(CancellationToken cancellationToken = default)
+ public virtual AsyncPageable GetNetworkCloudVirtualMachinesAsync(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudVirtualMachineVirtualMachinesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudVirtualMachineVirtualMachinesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudVirtualMachineVirtualMachinesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudVirtualMachineVirtualMachinesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudVirtualMachineResource(Client, NetworkCloudVirtualMachineData.DeserializeNetworkCloudVirtualMachineData(e)), NetworkCloudVirtualMachineVirtualMachinesClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudVirtualMachines", "value", "nextLink", cancellationToken);
}
@@ -797,7 +839,7 @@ public virtual AsyncPageable GetNetworkCloud
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -805,12 +847,14 @@ public virtual AsyncPageable GetNetworkCloud
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// A collection of that may take multiple service requests to iterate over.
- public virtual Pageable GetNetworkCloudVirtualMachines(CancellationToken cancellationToken = default)
+ public virtual Pageable GetNetworkCloudVirtualMachines(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudVirtualMachineVirtualMachinesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudVirtualMachineVirtualMachinesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudVirtualMachineVirtualMachinesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudVirtualMachineVirtualMachinesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudVirtualMachineResource(Client, NetworkCloudVirtualMachineData.DeserializeNetworkCloudVirtualMachineData(e)), NetworkCloudVirtualMachineVirtualMachinesClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudVirtualMachines", "value", "nextLink", cancellationToken);
}
@@ -827,7 +871,7 @@ public virtual Pageable GetNetworkCloudVirtu
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -835,12 +879,14 @@ public virtual Pageable GetNetworkCloudVirtu
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// An async collection of that may take multiple service requests to iterate over.
- public virtual AsyncPageable GetNetworkCloudVolumesAsync(CancellationToken cancellationToken = default)
+ public virtual AsyncPageable GetNetworkCloudVolumesAsync(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudVolumeVolumesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudVolumeVolumesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudVolumeVolumesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudVolumeVolumesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudVolumeResource(Client, NetworkCloudVolumeData.DeserializeNetworkCloudVolumeData(e)), NetworkCloudVolumeVolumesClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudVolumes", "value", "nextLink", cancellationToken);
}
@@ -857,7 +903,7 @@ public virtual AsyncPageable GetNetworkCloudVolumesA
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -865,12 +911,14 @@ public virtual AsyncPageable GetNetworkCloudVolumesA
///
///
///
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// A collection of that may take multiple service requests to iterate over.
- public virtual Pageable GetNetworkCloudVolumes(CancellationToken cancellationToken = default)
+ public virtual Pageable GetNetworkCloudVolumes(int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudVolumeVolumesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudVolumeVolumesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => NetworkCloudVolumeVolumesRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId, top, skipToken);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => NetworkCloudVolumeVolumesRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId, top, skipToken);
return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new NetworkCloudVolumeResource(Client, NetworkCloudVolumeData.DeserializeNetworkCloudVolumeData(e)), NetworkCloudVolumeVolumesClientDiagnostics, Pipeline, "MockableNetworkCloudSubscriptionResource.GetNetworkCloudVolumes", "value", "nextLink", cancellationToken);
}
}
diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Extensions/NetworkCloudExtensions.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Extensions/NetworkCloudExtensions.cs
index 9955fd96a7f0..601f0c460e78 100644
--- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Extensions/NetworkCloudExtensions.cs
+++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Extensions/NetworkCloudExtensions.cs
@@ -423,7 +423,7 @@ public static NetworkCloudBareMetalMachineCollection GetNetworkCloudBareMetalMac
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -461,7 +461,7 @@ public static async Task> GetNetw
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -516,7 +516,7 @@ public static NetworkCloudCloudServicesNetworkCollection GetNetworkCloudCloudSer
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -554,7 +554,7 @@ public static async Task> Get
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -609,7 +609,7 @@ public static NetworkCloudClusterManagerCollection GetNetworkCloudClusterManager
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -647,7 +647,7 @@ public static async Task> GetNetwor
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -702,7 +702,7 @@ public static NetworkCloudClusterCollection GetNetworkCloudClusters(this Resourc
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -740,7 +740,7 @@ public static async Task> GetNetworkCloudC
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -795,7 +795,7 @@ public static NetworkCloudKubernetesClusterCollection GetNetworkCloudKubernetesC
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -833,7 +833,7 @@ public static async Task> GetNet
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -888,7 +888,7 @@ public static NetworkCloudL2NetworkCollection GetNetworkCloudL2Networks(this Res
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -926,7 +926,7 @@ public static async Task> GetNetworkClou
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -981,7 +981,7 @@ public static NetworkCloudL3NetworkCollection GetNetworkCloudL3Networks(this Res
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1019,7 +1019,7 @@ public static async Task> GetNetworkClou
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1074,7 +1074,7 @@ public static NetworkCloudRackCollection GetNetworkCloudRacks(this ResourceGroup
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1112,7 +1112,7 @@ public static async Task> GetNetworkCloudRack
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1167,7 +1167,7 @@ public static NetworkCloudStorageApplianceCollection GetNetworkCloudStorageAppli
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1205,7 +1205,7 @@ public static async Task> GetNetw
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1260,7 +1260,7 @@ public static NetworkCloudTrunkedNetworkCollection GetNetworkCloudTrunkedNetwork
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1298,7 +1298,7 @@ public static async Task> GetNetwor
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1353,7 +1353,7 @@ public static NetworkCloudVirtualMachineCollection GetNetworkCloudVirtualMachine
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1391,7 +1391,7 @@ public static async Task> GetNetwor
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1446,7 +1446,7 @@ public static NetworkCloudVolumeCollection GetNetworkCloudVolumes(this ResourceG
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1484,7 +1484,7 @@ public static async Task> GetNetworkCloudVo
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1539,7 +1539,7 @@ public static NetworkCloudRackSkuCollection GetNetworkCloudRackSkus(this Subscri
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1577,7 +1577,7 @@ public static async Task> GetNetworkCloudR
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1615,7 +1615,7 @@ public static Response GetNetworkCloudRackSku(this
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1624,18 +1624,20 @@ public static Response GetNetworkCloudRackSku(this
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// An async collection of that may take multiple service requests to iterate over.
- public static AsyncPageable GetNetworkCloudBareMetalMachinesAsync(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static AsyncPageable GetNetworkCloudBareMetalMachinesAsync(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudBareMetalMachinesAsync(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudBareMetalMachinesAsync(top, skipToken, cancellationToken);
}
///
@@ -1651,7 +1653,7 @@ public static AsyncPageable GetNetworkClou
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1660,18 +1662,20 @@ public static AsyncPageable GetNetworkClou
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// A collection of that may take multiple service requests to iterate over.
- public static Pageable GetNetworkCloudBareMetalMachines(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static Pageable GetNetworkCloudBareMetalMachines(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudBareMetalMachines(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudBareMetalMachines(top, skipToken, cancellationToken);
}
///
@@ -1687,7 +1691,7 @@ public static Pageable GetNetworkCloudBare
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1696,18 +1700,20 @@ public static Pageable GetNetworkCloudBare
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// An async collection of that may take multiple service requests to iterate over.
- public static AsyncPageable GetNetworkCloudCloudServicesNetworksAsync(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static AsyncPageable GetNetworkCloudCloudServicesNetworksAsync(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudCloudServicesNetworksAsync(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudCloudServicesNetworksAsync(top, skipToken, cancellationToken);
}
///
@@ -1723,7 +1729,7 @@ public static AsyncPageable GetNetwork
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1732,18 +1738,20 @@ public static AsyncPageable GetNetwork
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// A collection of that may take multiple service requests to iterate over.
- public static Pageable GetNetworkCloudCloudServicesNetworks(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static Pageable GetNetworkCloudCloudServicesNetworks(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudCloudServicesNetworks(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudCloudServicesNetworks(top, skipToken, cancellationToken);
}
///
@@ -1759,7 +1767,7 @@ public static Pageable GetNetworkCloud
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1768,18 +1776,20 @@ public static Pageable GetNetworkCloud
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// An async collection of that may take multiple service requests to iterate over.
- public static AsyncPageable GetNetworkCloudClusterManagersAsync(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static AsyncPageable GetNetworkCloudClusterManagersAsync(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudClusterManagersAsync(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudClusterManagersAsync(top, skipToken, cancellationToken);
}
///
@@ -1795,7 +1805,7 @@ public static AsyncPageable GetNetworkCloudC
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1804,18 +1814,20 @@ public static AsyncPageable GetNetworkCloudC
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// A collection of that may take multiple service requests to iterate over.
- public static Pageable GetNetworkCloudClusterManagers(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static Pageable GetNetworkCloudClusterManagers(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudClusterManagers(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudClusterManagers(top, skipToken, cancellationToken);
}
///
@@ -1831,7 +1843,7 @@ public static Pageable GetNetworkCloudCluste
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1840,18 +1852,20 @@ public static Pageable GetNetworkCloudCluste
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// An async collection of that may take multiple service requests to iterate over.
- public static AsyncPageable GetNetworkCloudClustersAsync(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static AsyncPageable GetNetworkCloudClustersAsync(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudClustersAsync(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudClustersAsync(top, skipToken, cancellationToken);
}
///
@@ -1867,7 +1881,7 @@ public static AsyncPageable GetNetworkCloudClusters
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1876,18 +1890,20 @@ public static AsyncPageable GetNetworkCloudClusters
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// A collection of that may take multiple service requests to iterate over.
- public static Pageable GetNetworkCloudClusters(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static Pageable GetNetworkCloudClusters(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudClusters(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudClusters(top, skipToken, cancellationToken);
}
///
@@ -1903,7 +1919,7 @@ public static Pageable GetNetworkCloudClusters(this
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1912,18 +1928,20 @@ public static Pageable GetNetworkCloudClusters(this
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// An async collection of that may take multiple service requests to iterate over.
- public static AsyncPageable GetNetworkCloudKubernetesClustersAsync(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static AsyncPageable GetNetworkCloudKubernetesClustersAsync(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudKubernetesClustersAsync(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudKubernetesClustersAsync(top, skipToken, cancellationToken);
}
///
@@ -1939,7 +1957,7 @@ public static AsyncPageable GetNetworkClo
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1948,18 +1966,20 @@ public static AsyncPageable GetNetworkClo
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// A collection of that may take multiple service requests to iterate over.
- public static Pageable GetNetworkCloudKubernetesClusters(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static Pageable GetNetworkCloudKubernetesClusters(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudKubernetesClusters(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudKubernetesClusters(top, skipToken, cancellationToken);
}
///
@@ -1975,7 +1995,7 @@ public static Pageable GetNetworkCloudKub
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -1984,18 +2004,20 @@ public static Pageable GetNetworkCloudKub
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// An async collection of that may take multiple service requests to iterate over.
- public static AsyncPageable GetNetworkCloudL2NetworksAsync(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static AsyncPageable GetNetworkCloudL2NetworksAsync(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudL2NetworksAsync(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudL2NetworksAsync(top, skipToken, cancellationToken);
}
///
@@ -2011,7 +2033,7 @@ public static AsyncPageable GetNetworkCloudL2Netw
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -2020,18 +2042,20 @@ public static AsyncPageable GetNetworkCloudL2Netw
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// A collection of that may take multiple service requests to iterate over.
- public static Pageable GetNetworkCloudL2Networks(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static Pageable GetNetworkCloudL2Networks(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudL2Networks(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudL2Networks(top, skipToken, cancellationToken);
}
///
@@ -2047,7 +2071,7 @@ public static Pageable GetNetworkCloudL2Networks(
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -2056,18 +2080,20 @@ public static Pageable GetNetworkCloudL2Networks(
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// An async collection of that may take multiple service requests to iterate over.
- public static AsyncPageable GetNetworkCloudL3NetworksAsync(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static AsyncPageable GetNetworkCloudL3NetworksAsync(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudL3NetworksAsync(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudL3NetworksAsync(top, skipToken, cancellationToken);
}
///
@@ -2083,7 +2109,7 @@ public static AsyncPageable GetNetworkCloudL3Netw
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -2092,18 +2118,20 @@ public static AsyncPageable GetNetworkCloudL3Netw
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// A collection of that may take multiple service requests to iterate over.
- public static Pageable GetNetworkCloudL3Networks(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static Pageable GetNetworkCloudL3Networks(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudL3Networks(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudL3Networks(top, skipToken, cancellationToken);
}
///
@@ -2119,7 +2147,7 @@ public static Pageable GetNetworkCloudL3Networks(
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -2128,18 +2156,20 @@ public static Pageable GetNetworkCloudL3Networks(
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// An async collection of that may take multiple service requests to iterate over.
- public static AsyncPageable GetNetworkCloudRacksAsync(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static AsyncPageable GetNetworkCloudRacksAsync(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudRacksAsync(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudRacksAsync(top, skipToken, cancellationToken);
}
///
@@ -2155,7 +2185,7 @@ public static AsyncPageable GetNetworkCloudRacksAsync(
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -2164,18 +2194,20 @@ public static AsyncPageable GetNetworkCloudRacksAsync(
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// A collection of that may take multiple service requests to iterate over.
- public static Pageable GetNetworkCloudRacks(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static Pageable GetNetworkCloudRacks(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudRacks(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudRacks(top, skipToken, cancellationToken);
}
///
@@ -2191,7 +2223,7 @@ public static Pageable GetNetworkCloudRacks(this Subsc
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -2200,18 +2232,20 @@ public static Pageable GetNetworkCloudRacks(this Subsc
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// An async collection of that may take multiple service requests to iterate over.
- public static AsyncPageable GetNetworkCloudStorageAppliancesAsync(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static AsyncPageable GetNetworkCloudStorageAppliancesAsync(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudStorageAppliancesAsync(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudStorageAppliancesAsync(top, skipToken, cancellationToken);
}
///
@@ -2227,7 +2261,7 @@ public static AsyncPageable GetNetworkClou
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -2236,18 +2270,20 @@ public static AsyncPageable GetNetworkClou
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// A collection of that may take multiple service requests to iterate over.
- public static Pageable GetNetworkCloudStorageAppliances(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static Pageable GetNetworkCloudStorageAppliances(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudStorageAppliances(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudStorageAppliances(top, skipToken, cancellationToken);
}
///
@@ -2263,7 +2299,7 @@ public static Pageable GetNetworkCloudStor
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -2272,18 +2308,20 @@ public static Pageable GetNetworkCloudStor
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// An async collection of that may take multiple service requests to iterate over.
- public static AsyncPageable GetNetworkCloudTrunkedNetworksAsync(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static AsyncPageable GetNetworkCloudTrunkedNetworksAsync(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudTrunkedNetworksAsync(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudTrunkedNetworksAsync(top, skipToken, cancellationToken);
}
///
@@ -2299,7 +2337,7 @@ public static AsyncPageable GetNetworkCloudT
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -2308,18 +2346,20 @@ public static AsyncPageable GetNetworkCloudT
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// A collection of that may take multiple service requests to iterate over.
- public static Pageable GetNetworkCloudTrunkedNetworks(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static Pageable GetNetworkCloudTrunkedNetworks(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudTrunkedNetworks(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudTrunkedNetworks(top, skipToken, cancellationToken);
}
///
@@ -2335,7 +2375,7 @@ public static Pageable GetNetworkCloudTrunke
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -2344,18 +2384,20 @@ public static Pageable GetNetworkCloudTrunke
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// An async collection of that may take multiple service requests to iterate over.
- public static AsyncPageable GetNetworkCloudVirtualMachinesAsync(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static AsyncPageable GetNetworkCloudVirtualMachinesAsync(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudVirtualMachinesAsync(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudVirtualMachinesAsync(top, skipToken, cancellationToken);
}
///
@@ -2371,7 +2413,7 @@ public static AsyncPageable GetNetworkCloudV
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -2380,18 +2422,20 @@ public static AsyncPageable GetNetworkCloudV
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// A collection of that may take multiple service requests to iterate over.
- public static Pageable GetNetworkCloudVirtualMachines(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static Pageable GetNetworkCloudVirtualMachines(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudVirtualMachines(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudVirtualMachines(top, skipToken, cancellationToken);
}
///
@@ -2407,7 +2451,7 @@ public static Pageable GetNetworkCloudVirtua
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -2416,18 +2460,20 @@ public static Pageable GetNetworkCloudVirtua
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// An async collection of that may take multiple service requests to iterate over.
- public static AsyncPageable GetNetworkCloudVolumesAsync(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static AsyncPageable GetNetworkCloudVolumesAsync(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudVolumesAsync(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudVolumesAsync(top, skipToken, cancellationToken);
}
///
@@ -2443,7 +2489,7 @@ public static AsyncPageable GetNetworkCloudVolumesAs
///
/// -
/// Default Api Version
- /// 2025-02-01
+ /// 2025-07-01-preview
///
/// -
/// Resource
@@ -2452,18 +2498,20 @@ public static AsyncPageable GetNetworkCloudVolumesAs
///
///
-
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
+ /// The maximum number of resources to return from the operation. Example: '$top=10'.
+ /// The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
/// The cancellation token to use.
/// is null.
/// A collection of that may take multiple service requests to iterate over.
- public static Pageable GetNetworkCloudVolumes(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ public static Pageable GetNetworkCloudVolumes(this SubscriptionResource subscriptionResource, int? top = null, string skipToken = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
- return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudVolumes(cancellationToken);
+ return GetMockableNetworkCloudSubscriptionResource(subscriptionResource).GetNetworkCloudVolumes(top, skipToken, cancellationToken);
}
}
}
diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Models/ActionState.Serialization.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Models/ActionState.Serialization.cs
new file mode 100644
index 000000000000..4c9c5e6d9294
--- /dev/null
+++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Models/ActionState.Serialization.cs
@@ -0,0 +1,221 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure.Core;
+
+namespace Azure.ResourceManager.NetworkCloud.Models
+{
+ public partial class ActionState : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(ActionState)} does not support writing '{format}' format.");
+ }
+
+ if (options.Format != "W" && Optional.IsDefined(ActionType))
+ {
+ writer.WritePropertyName("actionType"u8);
+ writer.WriteStringValue(ActionType);
+ }
+ if (options.Format != "W" && Optional.IsDefined(CorrelationId))
+ {
+ writer.WritePropertyName("correlationId"u8);
+ writer.WriteStringValue(CorrelationId);
+ }
+ if (options.Format != "W" && Optional.IsDefined(EndTime))
+ {
+ writer.WritePropertyName("endTime"u8);
+ writer.WriteStringValue(EndTime);
+ }
+ if (options.Format != "W" && Optional.IsDefined(Message))
+ {
+ writer.WritePropertyName("message"u8);
+ writer.WriteStringValue(Message);
+ }
+ if (options.Format != "W" && Optional.IsDefined(StartTime))
+ {
+ writer.WritePropertyName("startTime"u8);
+ writer.WriteStringValue(StartTime);
+ }
+ if (options.Format != "W" && Optional.IsDefined(Status))
+ {
+ writer.WritePropertyName("status"u8);
+ writer.WriteStringValue(Status.Value.ToString());
+ }
+ if (options.Format != "W" && Optional.IsCollectionDefined(StepStates))
+ {
+ writer.WritePropertyName("stepStates"u8);
+ writer.WriteStartArray();
+ foreach (var item in StepStates)
+ {
+ writer.WriteObjectValue(item, options);
+ }
+ writer.WriteEndArray();
+ }
+ if (options.Format != "W" && _serializedAdditionalRawData != null)
+ {
+ foreach (var item in _serializedAdditionalRawData)
+ {
+ writer.WritePropertyName(item.Key);
+#if NET6_0_OR_GREATER
+ writer.WriteRawValue(item.Value);
+#else
+ using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions))
+ {
+ JsonSerializer.Serialize(writer, document.RootElement);
+ }
+#endif
+ }
+ }
+ }
+
+ ActionState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(ActionState)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeActionState(document.RootElement, options);
+ }
+
+ internal static ActionState DeserializeActionState(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ string actionType = default;
+ string correlationId = default;
+ string endTime = default;
+ string message = default;
+ string startTime = default;
+ ActionStateStatus? status = default;
+ IReadOnlyList stepStates = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("actionType"u8))
+ {
+ actionType = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("correlationId"u8))
+ {
+ correlationId = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("endTime"u8))
+ {
+ endTime = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("message"u8))
+ {
+ message = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("startTime"u8))
+ {
+ startTime = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("status"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ status = new ActionStateStatus(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("stepStates"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(StepState.DeserializeStepState(item, options));
+ }
+ stepStates = array;
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new ActionState(
+ actionType,
+ correlationId,
+ endTime,
+ message,
+ startTime,
+ status,
+ stepStates ?? new ChangeTrackingList(),
+ serializedAdditionalRawData);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options, AzureResourceManagerNetworkCloudContext.Default);
+ default:
+ throw new FormatException($"The model {nameof(ActionState)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ ActionState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeActionState(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(ActionState)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+ }
+}
diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Models/ActionState.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Models/ActionState.cs
new file mode 100644
index 000000000000..3a1fc5da3ef8
--- /dev/null
+++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Models/ActionState.cs
@@ -0,0 +1,90 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+
+namespace Azure.ResourceManager.NetworkCloud.Models
+{
+ /// ActionState represents the state of an action taken against a resource. This can be used to represent both explicitly and implicitly defined action types.
+ public partial class ActionState
+ {
+ ///
+ /// Keeps track of any properties unknown to the library.
+ ///
+ /// To assign an object to the value of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ private IDictionary _serializedAdditionalRawData;
+
+ /// Initializes a new instance of .
+ internal ActionState()
+ {
+ StepStates = new ChangeTrackingList();
+ }
+
+ /// Initializes a new instance of .
+ /// The representation of the action for which this is a status. Matches ARM resource action format when the action is an ARM-based action.
+ /// The correlation ID for the original action request. Omitted if there is no related correlation ID.
+ /// The timestamp of when the action reached its final, terminal state. Uses ISO 8601 format.
+ /// The description providing additional context for the status value. May be empty or contain guidance in the case of a failure.
+ /// The timestamp of when the action began, in ISO 8601 format.
+ /// The status of the action.
+ /// The ordered list of the individual steps which make up the action.
+ /// Keeps track of any properties unknown to the library.
+ internal ActionState(string actionType, string correlationId, string endTime, string message, string startTime, ActionStateStatus? status, IReadOnlyList stepStates, IDictionary serializedAdditionalRawData)
+ {
+ ActionType = actionType;
+ CorrelationId = correlationId;
+ EndTime = endTime;
+ Message = message;
+ StartTime = startTime;
+ Status = status;
+ StepStates = stepStates;
+ _serializedAdditionalRawData = serializedAdditionalRawData;
+ }
+
+ /// The representation of the action for which this is a status. Matches ARM resource action format when the action is an ARM-based action.
+ public string ActionType { get; }
+ /// The correlation ID for the original action request. Omitted if there is no related correlation ID.
+ public string CorrelationId { get; }
+ /// The timestamp of when the action reached its final, terminal state. Uses ISO 8601 format.
+ public string EndTime { get; }
+ /// The description providing additional context for the status value. May be empty or contain guidance in the case of a failure.
+ public string Message { get; }
+ /// The timestamp of when the action began, in ISO 8601 format.
+ public string StartTime { get; }
+ /// The status of the action.
+ public ActionStateStatus? Status { get; }
+ /// The ordered list of the individual steps which make up the action.
+ public IReadOnlyList StepStates { get; }
+ }
+}
diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Models/ActionStateStatus.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Models/ActionStateStatus.cs
new file mode 100644
index 000000000000..f778064e594b
--- /dev/null
+++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Models/ActionStateStatus.cs
@@ -0,0 +1,54 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ComponentModel;
+
+namespace Azure.ResourceManager.NetworkCloud.Models
+{
+ /// The status of the action.
+ public readonly partial struct ActionStateStatus : IEquatable
+ {
+ private readonly string _value;
+
+ /// Initializes a new instance of