你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmEventHubsModelFactory.EventHubsClusterData 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 EventHubsClusterData.
public static Azure.ResourceManager.EventHubs.EventHubsClusterData EventHubsClusterData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.EventHubs.Models.EventHubsClusterSku sku = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.EventHubs.Models.EventHubsClusterProvisioningState? provisioningState = default, DateTimeOffset? updatedOn = default, string metricId = default, string status = default, bool? supportsScaling = default);
static member EventHubsClusterData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.EventHubs.Models.EventHubsClusterSku * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.EventHubs.Models.EventHubsClusterProvisioningState> * Nullable<DateTimeOffset> * string * string * Nullable<bool> -> Azure.ResourceManager.EventHubs.EventHubsClusterData
Public Shared Function EventHubsClusterData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As EventHubsClusterSku = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of EventHubsClusterProvisioningState) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional metricId As String = Nothing, Optional status As String = Nothing, Optional supportsScaling As Nullable(Of Boolean) = Nothing) As EventHubsClusterData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
Properties of the cluster SKU.
- createdOn
- Nullable<DateTimeOffset>
The UTC time when the Event Hubs Cluster was created.
- provisioningState
- Nullable<EventHubsClusterProvisioningState>
Provisioning state of the Cluster.
- updatedOn
- Nullable<DateTimeOffset>
The UTC time when the Event Hubs Cluster was last updated.
- metricId
- String
The metric ID of the cluster resource. Provided by the service and not modifiable by the user.
- status
- String
Status of the Cluster resource.
Returns
A new EventHubsClusterData instance for mocking.