ArmComputeFleetModelFactory.ComputeFleetVmss Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ComputeFleetVmss(ResourceIdentifier, String, ComputeFleetProvisioningState, ComputeFleetApiError) |
Initializes a new instance of ComputeFleetVmss. |
ComputeFleetVmss(String, String, ComputeFleetProvisioningState, ComputeFleetApiError) |
Initializes a new instance of ComputeFleetVmss. |
ComputeFleetVmss(ResourceIdentifier, String, ComputeFleetProvisioningState, ComputeFleetApiError)
Initializes a new instance of ComputeFleetVmss.
public static Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmss ComputeFleetVmss (Azure.Core.ResourceIdentifier id = default, string type = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetProvisioningState operationStatus = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetApiError error = default);
static member ComputeFleetVmss : Azure.Core.ResourceIdentifier * string * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetProvisioningState * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetApiError -> Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmss
Public Shared Function ComputeFleetVmss (Optional id As ResourceIdentifier = Nothing, Optional type As String = Nothing, Optional operationStatus As ComputeFleetProvisioningState = Nothing, Optional error As ComputeFleetApiError = Nothing) As ComputeFleetVmss
Parameters
The compute RP resource id of the virtualMachineScaleSet "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}"
- type
- String
Type of the virtualMachineScaleSet.
- operationStatus
- ComputeFleetProvisioningState
This represents the operationStatus of the VMSS in response to the last operation that was performed on it by Azure Fleet resource.
- error
- ComputeFleetApiError
Error Information when operationStatus
is Failed
.
Returns
A new ComputeFleetVmss instance for mocking.
Applies to
ComputeFleetVmss(String, String, ComputeFleetProvisioningState, ComputeFleetApiError)
Initializes a new instance of ComputeFleetVmss.
public static Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmss ComputeFleetVmss (string id = default, string type = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetProvisioningState operationStatus = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetApiError error = default);
static member ComputeFleetVmss : string * string * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetProvisioningState * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetApiError -> Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmss
Public Shared Function ComputeFleetVmss (Optional id As String = Nothing, Optional type As String = Nothing, Optional operationStatus As ComputeFleetProvisioningState = Nothing, Optional error As ComputeFleetApiError = Nothing) As ComputeFleetVmss
Parameters
- id
- String
The compute RP resource id of the virtualMachineScaleSet "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}"
- type
- String
Type of the virtualMachineScaleSet.
- operationStatus
- ComputeFleetProvisioningState
This represents the operationStatus of the VMSS in response to the last operation that was performed on it by Azure Fleet resource.
- error
- ComputeFleetApiError
Error Information when operationStatus
is Failed
.
Returns
A new ComputeFleetVmss instance for mocking.
Applies to
Azure SDK for .NET