ArmComputeModelFactory.CloudServiceRoleInstanceData 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 CloudServiceRoleInstanceData.
public static Azure.ResourceManager.Compute.CloudServiceRoleInstanceData CloudServiceRoleInstanceData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default, Azure.ResourceManager.Compute.Models.InstanceSku sku = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> networkInterfaces = default, Azure.ResourceManager.Compute.Models.RoleInstanceView instanceView = default);
static member CloudServiceRoleInstanceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.ResourceManager.Compute.Models.InstanceSku * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Azure.ResourceManager.Compute.Models.RoleInstanceView -> Azure.ResourceManager.Compute.CloudServiceRoleInstanceData
Public Shared Function CloudServiceRoleInstanceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing, Optional sku As InstanceSku = Nothing, Optional networkInterfaces As IEnumerable(Of WritableSubResource) = Nothing, Optional instanceView As RoleInstanceView = Nothing) As CloudServiceRoleInstanceData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- location
- Nullable<AzureLocation>
Resource Location.
- tags
- IReadOnlyDictionary<String,String>
Resource tags.
- sku
- InstanceSku
The role instance SKU.
- networkInterfaces
- IEnumerable<WritableSubResource>
Describes the network profile for the role instance.
- instanceView
- RoleInstanceView
The instance view of the role instance.
Returns
A new CloudServiceRoleInstanceData instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET