Share via


ServiceFabricManagedNodeTypeData Class

Definition

A class representing the ServiceFabricManagedNodeType data model. Describes a node type in the cluster, each node type represents sub set of nodes in the cluster.

public class ServiceFabricManagedNodeTypeData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedNodeTypeData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedNodeTypeData>
type ServiceFabricManagedNodeTypeData = class
    inherit ResourceData
    interface IJsonModel<ServiceFabricManagedNodeTypeData>
    interface IPersistableModel<ServiceFabricManagedNodeTypeData>
Public Class ServiceFabricManagedNodeTypeData
Inherits ResourceData
Implements IJsonModel(Of ServiceFabricManagedNodeTypeData), IPersistableModel(Of ServiceFabricManagedNodeTypeData)
Inheritance
ServiceFabricManagedNodeTypeData
Implements

Constructors

ServiceFabricManagedNodeTypeData()

Initializes a new instance of ServiceFabricManagedNodeTypeData.

Properties

AdditionalDataDisks

Additional managed data disks.

AdditionalNetworkInterfaceConfigurations

Specifies the settings for any additional secondary network interfaces to attach to the node type.

ApplicationPorts

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

Capacities

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.

ComputerNamePrefix

Specifies the computer name prefix. Limited to 9 characters. If specified, allows for a longer name to be specified for the node type name.

DataDiskLetter

Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.

DataDiskSizeInGB

Disk size for the managed disk attached to the vms on the node type in GBs.

DataDiskType

Managed data disk type. Specifies the storage account type for the managed disk.

DscpConfigurationId

Specifies the resource id of the DSCP configuration to apply to the node type network interface.

EphemeralPorts

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

EvictionPolicy

Specifies the eviction policy for virtual machines in a SPOT node type. Default is Delete.

FrontendConfigurations

Indicates the node type uses its own frontend configurations instead of the default one for the cluster. This setting can only be specified for non-primary node types and can not be added or removed after the node type is created.

HasMultiplePlacementGroups

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

HostGroupId

Specifies the full host group resource Id. This property is used for deploying on azure dedicated hosts.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsAcceleratedNetworkingEnabled

Specifies whether the network interface is accelerated networking-enabled.

IsEncryptionAtHostEnabled

Enable or disable the Host Encryption for the virtual machines on the node type. This will enable the encryption for all the disks including Resource/Temp disk at host itself. Default: The Encryption at host will be disabled unless this property is set to true for the resource.

IsNodePublicIPEnabled

Specifies whether each node is allocated its own public IPv4 address. This is only supported on secondary node types with custom Load Balancers.

IsNodePublicIPv6Enabled

Specifies whether each node is allocated its own public IPv6 address. This is only supported on secondary node types with custom Load Balancers.

IsOverProvisioningEnabled

Specifies whether the node type should be overprovisioned. It is only allowed for stateless node types.

IsPrimary

Indicates the Service Fabric system services for the cluster will run on this node type. This setting cannot be changed once the node type is created.

IsSecureBootEnabled

Specifies whether secure boot should be enabled on the nodeType. Can only be used with TrustedLaunch SecurityType.

IsSpotVm

Indicates whether the node type will be Spot Virtual Machines. Azure will allocate the VMs if there is capacity available and the VMs can be evicted at any time.

IsStateless

Indicates if the node type can only host Stateless workloads.

Name

The name of the resource.

(Inherited from ResourceData)
NatConfigurations

Specifies the NAT configuration on default public Load Balancer for the node type. This is only supported for node types use the default public Load Balancer.

NatGatewayId

Specifies the resource id of a NAT Gateway to attach to the subnet of this node type. Node type must use custom load balancer.

NetworkSecurityRules

The Network Security Rules for this node type. This setting can only be specified for node types that are configured with frontend configurations.

PlacementProperties

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

ProvisioningState

The provisioning state of the node type resource.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SecurityType

Specifies the security type of the nodeType. Only Standard and TrustedLaunch are currently supported.

ServiceArtifactReferenceId

Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version.

Sku

The node type sku.

SpotRestoreTimeout

Indicates the time duration after which the platform will not try to restore the VMSS SPOT instances specified as ISO 8601.

SubnetId

Indicates the resource id of the subnet for the node type.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Azure resource tags.

UseDefaultPublicLoadBalancer

Specifies whether the use public load balancer. If not specified and the node type doesn't have its own frontend configuration, it will be attached to the default load balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is true, then the frontend has to be an Internal Load Balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is false or not set, then the custom load balancer must include a public load balancer to provide outbound connectivity.

UseEphemeralOSDisk

Indicates whether to use ephemeral os disk. The sku selected on the vmSize property needs to support this feature.

UserAssignedIdentities

The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

UseTempDataDisk

Specifies whether to use the temporary disk for the service fabric data root, in which case no managed data disk will be attached and the temporary disk will be used. It is only allowed for stateless node types.

VmApplications

Specifies the gallery applications that should be made available to the underlying VMSS.

VmExtensions

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

VmImageOffer

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

VmImagePlan

Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.

VmImagePublisher

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

VmImageResourceId

Indicates the resource id of the vm image. This parameter is used for custom vm image.

VmImageSku

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

VmImageVersion

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'.

VmInstanceCount

The number of nodes in the node type. <br /><br />Values: <br />-1 - Use when auto scale rules are configured or sku.capacity is defined <br /> 0 - Not supported <br /> >0 - Use for manual scale.

VmSecrets

The secrets to install in the virtual machines.

VmSetupActions

Specifies the actions to be performed on the vms before bootstrapping the service fabric runtime.

VmSharedGalleryImageId

Indicates the resource id of the vm shared galleries image. This parameter is used for custom vm image.

VmSize

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

Zones

Specifies the availability zones where the node type would span across. If the cluster is not spanning across availability zones, initiates az migration for the cluster.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<ServiceFabricManagedNodeTypeData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ServiceFabricManagedNodeTypeData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceFabricManagedNodeTypeData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceFabricManagedNodeTypeData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ServiceFabricManagedNodeTypeData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to