NodeType Class

Describes a node type in the cluster, each node type represents sub set of nodes in the cluster.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.servicefabricmanagedclusters.models._models_py3.ManagedProxyResource
NodeType

Constructor

NodeType(*, tags: Optional[Dict[str, str]] = None, is_primary: Optional[bool] = None, vm_instance_count: Optional[int] = None, data_disk_size_gb: Optional[int] = None, data_disk_type: Optional[Union[str, azure.mgmt.servicefabricmanagedclusters.models._service_fabric_managed_clusters_management_client_enums.DiskType]] = 'StandardSSD_LRS', placement_properties: Optional[Dict[str, str]] = None, capacities: Optional[Dict[str, str]] = None, application_ports: Optional[azure.mgmt.servicefabricmanagedclusters.models._models_py3.EndpointRangeDescription] = None, ephemeral_ports: Optional[azure.mgmt.servicefabricmanagedclusters.models._models_py3.EndpointRangeDescription] = None, vm_size: Optional[str] = None, vm_image_publisher: Optional[str] = None, vm_image_offer: Optional[str] = None, vm_image_sku: Optional[str] = None, vm_image_version: Optional[str] = None, vm_secrets: Optional[List[azure.mgmt.servicefabricmanagedclusters.models._models_py3.VaultSecretGroup]] = None, vm_extensions: Optional[List[azure.mgmt.servicefabricmanagedclusters.models._models_py3.VMSSExtension]] = None, vm_managed_identity: Optional[azure.mgmt.servicefabricmanagedclusters.models._models_py3.VmManagedIdentity] = None, is_stateless: Optional[bool] = False, multiple_placement_groups: Optional[bool] = False, **kwargs)

Parameters

tags
dict[str, str]
Required

A set of tags. Azure resource tags.

is_primary
bool
Required

The node type on which system services will run. Only one node type should be marked as primary. Primary node type cannot be deleted or changed for existing clusters.

vm_instance_count
int
Required

The number of nodes in the node type.

data_disk_size_gb
int
Required

Disk size for each vm in the node type in GBs.

data_disk_type
str or <xref:service_fabric_managed_clusters_management_client.models.DiskType>
Required

Managed data disk type. IOPS and throughput are given by the disk size, to see more information go to https://docs.microsoft.com/en-us/azure/virtual-machines/disks-types. Possible values include: "Standard_LRS", "StandardSSD_LRS", "Premium_LRS". Default value: "StandardSSD_LRS".

placement_properties
dict[str, str]
Required

The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run.

capacities
dict[str, str]
Required

The capacity tags applied to the nodes in the node type, the cluster resource manager uses these tags to understand how much resource a node has.

application_ports
<xref:service_fabric_managed_clusters_management_client.models.EndpointRangeDescription>
Required

The range of ports from which cluster assigned port to Service Fabric applications.

ephemeral_ports
<xref:service_fabric_managed_clusters_management_client.models.EndpointRangeDescription>
Required

The range of ephemeral ports that nodes in this node type should be configured with.

vm_size
str
Required

The size of virtual machines in the pool. All virtual machines in a pool are the same size. For example, Standard_D3.

vm_image_publisher
str
Required

The publisher of the Azure Virtual Machines Marketplace image. For example, Canonical or MicrosoftWindowsServer.

vm_image_offer
str
Required

The offer type of the Azure Virtual Machines Marketplace image. For example, UbuntuServer or WindowsServer.

vm_image_sku
str
Required

The SKU of the Azure Virtual Machines Marketplace image. For example, 14.04.0-LTS or 2012-R2-Datacenter.

vm_image_version
str
Required

The version of the Azure Virtual Machines Marketplace image. A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.

vm_secrets
list[<xref:service_fabric_managed_clusters_management_client.models.VaultSecretGroup>]
Required

The secrets to install in the virtual machines.

vm_extensions
list[<xref:service_fabric_managed_clusters_management_client.models.VMSSExtension>]
Required

Set of extensions that should be installed onto the virtual machines.

vm_managed_identity
<xref:service_fabric_managed_clusters_management_client.models.VmManagedIdentity>
Required

Identities for the virtual machine scale set under the node type.

is_stateless
bool
Required

Indicates if the node type can only host Stateless workloads.

multiple_placement_groups
bool
Required

Indicates if scale set associated with the node type can be composed of multiple placement groups.

Variables

id
str

Azure resource identifier.

name
str

Azure resource name.

type
str

Azure resource type.

system_data
<xref:service_fabric_managed_clusters_management_client.models.SystemData>

Metadata pertaining to creation and last modification of the resource.

provisioning_state
str or <xref:service_fabric_managed_clusters_management_client.models.ManagedResourceProvisioningState>

The provisioning state of the managed cluster resource. Possible values include: "None", "Creating", "Created", "Updating", "Succeeded", "Failed", "Canceled", "Deleting", "Deleted", "Other".