node_types
Creates, updates, deletes, gets or lists a node_types
resource.
Overview
Name | node_types |
Type | Resource |
Id | azure.service_fabric_managed_clusters.node_types |
Fields
- vw_node_types
- node_types
Name | Datatype | Description |
---|---|---|
id | text | Azure resource identifier. |
name | text | Azure resource name. |
additional_data_disks | text | field from the properties object |
additional_network_interface_configurations | text | field from the properties object |
application_ports | text | field from the properties object |
capacities | text | field from the properties object |
clusterName | text | field from the properties object |
computer_name_prefix | text | field from the properties object |
data_disk_letter | text | field from the properties object |
data_disk_size_gb | text | field from the properties object |
data_disk_type | text | field from the properties object |
dscp_configuration_id | text | field from the properties object |
enable_accelerated_networking | text | field from the properties object |
enable_encryption_at_host | text | field from the properties object |
enable_node_public_ip | text | field from the properties object |
enable_node_public_ipv6 | text | field from the properties object |
enable_over_provisioning | text | field from the properties object |
ephemeral_ports | text | field from the properties object |
eviction_policy | text | field from the properties object |
frontend_configurations | text | field from the properties object |
host_group_id | text | field from the properties object |
is_primary | text | field from the properties object |
is_spot_vm | text | field from the properties object |
is_stateless | text | field from the properties object |
multiple_placement_groups | text | field from the properties object |
nat_configurations | text | field from the properties object |
nat_gateway_id | text | field from the properties object |
network_security_rules | text | field from the properties object |
nodeTypeName | text | field from the properties object |
placement_properties | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
secure_boot_enabled | text | field from the properties object |
security_type | text | field from the properties object |
service_artifact_reference_id | text | field from the properties object |
sku | text | Describes a node type sku. |
spot_restore_timeout | text | field from the properties object |
subnet_id | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | Azure resource tags. |
type | text | Azure resource type. |
use_default_public_load_balancer | text | field from the properties object |
use_ephemeral_os_disk | text | field from the properties object |
use_temp_data_disk | text | field from the properties object |
vm_applications | text | field from the properties object |
vm_extensions | text | field from the properties object |
vm_image_offer | text | field from the properties object |
vm_image_plan | text | field from the properties object |
vm_image_publisher | text | field from the properties object |
vm_image_resource_id | text | field from the properties object |
vm_image_sku | text | field from the properties object |
vm_image_version | text | field from the properties object |
vm_instance_count | text | field from the properties object |
vm_managed_identity | text | field from the properties object |
vm_secrets | text | field from the properties object |
vm_setup_actions | text | field from the properties object |
vm_shared_gallery_image_id | text | field from the properties object |
vm_size | text | field from the properties object |
zones | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Azure resource identifier. |
name | string | Azure resource name. |
properties | object | Describes a node type in the cluster, each node type represents sub set of nodes in the cluster. |
sku | object | Describes a node type sku. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Azure resource tags. |
type | string | Azure resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | clusterName, nodeTypeName, resourceGroupName, subscriptionId | Get a Service Fabric node type of a given managed cluster. |
list_by_managed_clusters | SELECT | clusterName, resourceGroupName, subscriptionId | Gets all Node types of the specified managed cluster. |
create_or_update | INSERT | clusterName, nodeTypeName, resourceGroupName, subscriptionId | Create or update a Service Fabric node type of a given managed cluster. |
delete | DELETE | clusterName, nodeTypeName, resourceGroupName, subscriptionId | Delete a Service Fabric node type of a given managed cluster. |
update | UPDATE | clusterName, nodeTypeName, resourceGroupName, subscriptionId | Update the configuration of a node type of a given managed cluster, only updating tags. |
reimage | EXEC | clusterName, nodeTypeName, resourceGroupName, subscriptionId | Reimages one or more nodes on the node type. It will disable the fabric nodes, trigger a reimage on the VMs and activate the nodes back again. |
restart | EXEC | clusterName, nodeTypeName, resourceGroupName, subscriptionId | Restarts one or more nodes on the node type. It will disable the fabric nodes, trigger a restart on the VMs and activate the nodes back again. |
SELECT
examples
Gets all Node types of the specified managed cluster.
- vw_node_types
- node_types
SELECT
id,
name,
additional_data_disks,
additional_network_interface_configurations,
application_ports,
capacities,
clusterName,
computer_name_prefix,
data_disk_letter,
data_disk_size_gb,
data_disk_type,
dscp_configuration_id,
enable_accelerated_networking,
enable_encryption_at_host,
enable_node_public_ip,
enable_node_public_ipv6,
enable_over_provisioning,
ephemeral_ports,
eviction_policy,
frontend_configurations,
host_group_id,
is_primary,
is_spot_vm,
is_stateless,
multiple_placement_groups,
nat_configurations,
nat_gateway_id,
network_security_rules,
nodeTypeName,
placement_properties,
provisioning_state,
resourceGroupName,
secure_boot_enabled,
security_type,
service_artifact_reference_id,
sku,
spot_restore_timeout,
subnet_id,
subscriptionId,
system_data,
tags,
type,
use_default_public_load_balancer,
use_ephemeral_os_disk,
use_temp_data_disk,
vm_applications,
vm_extensions,
vm_image_offer,
vm_image_plan,
vm_image_publisher,
vm_image_resource_id,
vm_image_sku,
vm_image_version,
vm_instance_count,
vm_managed_identity,
vm_secrets,
vm_setup_actions,
vm_shared_gallery_image_id,
vm_size,
zones
FROM azure.service_fabric_managed_clusters.vw_node_types
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
sku,
systemData,
tags,
type
FROM azure.service_fabric_managed_clusters.node_types
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new node_types
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.service_fabric_managed_clusters.node_types (
clusterName,
nodeTypeName,
resourceGroupName,
subscriptionId,
tags,
systemData,
properties,
sku
)
SELECT
'{{ clusterName }}',
'{{ nodeTypeName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ systemData }}',
'{{ properties }}',
'{{ sku }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: tags
value: object
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: properties
value:
- name: isPrimary
value: boolean
- name: vmInstanceCount
value: integer
- name: dataDiskSizeGB
value: integer
- name: dataDiskType
value: []
- name: dataDiskLetter
value: string
- name: placementProperties
value: object
- name: capacities
value: object
- name: applicationPorts
value:
- name: startPort
value: integer
- name: endPort
value: integer
- name: vmSize
value: string
- name: vmImagePublisher
value: string
- name: vmImageOffer
value: string
- name: vmImageSku
value: string
- name: vmImageVersion
value: string
- name: vmSecrets
value:
- - name: sourceVault
value:
- name: id
value: string
- name: vaultCertificates
value:
- - name: certificateUrl
value: string
- name: certificateStore
value: string
- name: vmExtensions
value:
- - name: name
value: string
- name: properties
value:
- name: publisher
value: string
- name: type
value: string
- name: typeHandlerVersion
value: string
- name: autoUpgradeMinorVersion
value: boolean
- name: settings
value: object
- name: protectedSettings
value: object
- name: forceUpdateTag
value: string
- name: provisionAfterExtensions
value:
- string
- name: provisioningState
value: string
- name: enableAutomaticUpgrade
value: boolean
- name: setupOrder
value:
- []
- name: vmManagedIdentity
value:
- name: userAssignedIdentities
value:
- string
- name: isStateless
value: boolean
- name: multiplePlacementGroups
value: boolean
- name: frontendConfigurations
value:
- - name: ipAddressType
value: []
- name: loadBalancerBackendAddressPoolId
value: string
- name: loadBalancerInboundNatPoolId
value: string
- name: applicationGatewayBackendAddressPoolId
value: string
- name: networkSecurityRules
value:
- - name: name
value: string
- name: description
value: string
- name: protocol
value: string
- name: sourceAddressPrefixes
value:
- string
- name: destinationAddressPrefixes
value:
- string
- name: sourcePortRanges
value:
- string
- name: destinationPortRanges
value:
- string
- name: sourceAddressPrefix
value: string
- name: destinationAddressPrefix
value: string
- name: sourcePortRange
value: string
- name: destinationPortRange
value: string
- name: access
value: string
- name: priority
value: integer
- name: direction
value: string
- name: additionalDataDisks
value:
- - name: lun
value: integer
- name: diskSizeGB
value: integer
- name: diskLetter
value: string
- name: enableEncryptionAtHost
value: boolean
- name: provisioningState
value: []
- name: enableAcceleratedNetworking
value: boolean
- name: useDefaultPublicLoadBalancer
value: boolean
- name: useTempDataDisk
value: boolean
- name: enableOverProvisioning
value: boolean
- name: zones
value:
- string
- name: isSpotVM
value: boolean
- name: hostGroupId
value: string
- name: useEphemeralOSDisk
value: boolean
- name: spotRestoreTimeout
value: string
- name: evictionPolicy
value: []
- name: vmImageResourceId
value: string
- name: subnetId
value: string
- name: vmSetupActions
value:
- []
- name: securityType
value: string
- name: secureBootEnabled
value: boolean
- name: enableNodePublicIP
value: boolean
- name: enableNodePublicIPv6
value: boolean
- name: vmSharedGalleryImageId
value: string
- name: natGatewayId
value: string
- name: natConfigurations
value:
- - name: backendPort
value: integer
- name: frontendPortRangeStart
value: integer
- name: frontendPortRangeEnd
value: integer
- name: vmImagePlan
value:
- name: name
value: string
- name: product
value: string
- name: promotionCode
value: string
- name: publisher
value: string
- name: serviceArtifactReferenceId
value: string
- name: dscpConfigurationId
value: string
- name: additionalNetworkInterfaceConfigurations
value:
- - name: name
value: string
- name: enableAcceleratedNetworking
value: boolean
- name: ipConfigurations
value:
- - name: name
value: string
- name: applicationGatewayBackendAddressPools
value:
- - name: id
value: string
- name: loadBalancerBackendAddressPools
value:
- - name: id
value: string
- name: loadBalancerInboundNatPools
value:
- - name: id
value: string
- name: privateIPAddressVersion
value: string
- name: publicIPAddressConfiguration
value:
- name: name
value: string
- name: ipTags
value:
- - name: ipTagType
value: string
- name: tag
value: string
- name: publicIPAddressVersion
value: string
- name: computerNamePrefix
value: string
- name: vmApplications
value:
- - name: configurationReference
value: string
- name: enableAutomaticUpgrade
value: boolean
- name: order
value: integer
- name: packageReferenceId
value: string
- name: vmGalleryTags
value: string
- name: treatFailureAsDeploymentFailure
value: boolean
- name: sku
value:
- name: name
value: string
- name: tier
value: string
- name: capacity
value: integer
UPDATE
example
Updates a node_types
resource.
/*+ update */
UPDATE azure.service_fabric_managed_clusters.node_types
SET
tags = '{{ tags }}',
sku = '{{ sku }}'
WHERE
clusterName = '{{ clusterName }}'
AND nodeTypeName = '{{ nodeTypeName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified node_types
resource.
/*+ delete */
DELETE FROM azure.service_fabric_managed_clusters.node_types
WHERE clusterName = '{{ clusterName }}'
AND nodeTypeName = '{{ nodeTypeName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';