ArmComputeModelFactory.RoleInstanceView 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.
Initializes a new instance of RoleInstanceView.
public static Azure.ResourceManager.Compute.Models.RoleInstanceView RoleInstanceView (int? platformUpdateDomain = default, int? platformFaultDomain = default, string privateId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ResourceInstanceViewStatus> statuses = default);
static member RoleInstanceView : Nullable<int> * Nullable<int> * string * seq<Azure.ResourceManager.Compute.Models.ResourceInstanceViewStatus> -> Azure.ResourceManager.Compute.Models.RoleInstanceView
Public Shared Function RoleInstanceView (Optional platformUpdateDomain As Nullable(Of Integer) = Nothing, Optional platformFaultDomain As Nullable(Of Integer) = Nothing, Optional privateId As String = Nothing, Optional statuses As IEnumerable(Of ResourceInstanceViewStatus) = Nothing) As RoleInstanceView
Parameters
- privateId
- String
Specifies a unique identifier generated internally for the cloud service associated with this role instance. <br /><br /> NOTE: If you are using Azure Diagnostics extension, this property can be used as 'DeploymentId' for querying details.
- statuses
- IEnumerable<ResourceInstanceViewStatus>
Returns
A new RoleInstanceView instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET