Skip to main content

managed_clusters

Creates, updates, deletes, gets or lists a managed_clusters resource.

Overview

Namemanaged_clusters
TypeResource
Idazure.service_fabric_managed_clusters.managed_clusters

Fields

NameDatatypeDescription
idtextAzure resource identifier.
nametextAzure resource name.
addon_featurestextfield from the properties object
admin_passwordtextfield from the properties object
admin_user_nametextfield from the properties object
allow_rdp_accesstextfield from the properties object
application_type_versions_cleanup_policytextfield from the properties object
auto_generated_domain_name_label_scopetextfield from the properties object
auxiliary_subnetstextfield from the properties object
azure_active_directorytextfield from the properties object
client_connection_porttextfield from the properties object
clientstextfield from the properties object
clusterNametextfield from the properties object
cluster_certificate_thumbprintstextfield from the properties object
cluster_code_versiontextfield from the properties object
cluster_idtextfield from the properties object
cluster_statetextfield from the properties object
cluster_upgrade_cadencetextfield from the properties object
cluster_upgrade_modetextfield from the properties object
custom_fqdntextfield from the properties object
ddos_protection_plan_idtextfield from the properties object
dns_nametextfield from the properties object
enable_auto_os_upgradetextfield from the properties object
enable_http_gateway_exclusive_auth_modetextfield from the properties object
enable_ipv6textfield from the properties object
enable_service_public_iptextfield from the properties object
etagtextAzure resource etag.
fabric_settingstextfield from the properties object
fqdntextfield from the properties object
http_gateway_connection_porttextfield from the properties object
http_gateway_token_auth_connection_porttextfield from the properties object
ip_tagstextfield from the properties object
ipv4_addresstextfield from the properties object
ipv6_addresstextfield from the properties object
load_balancing_rulestextfield from the properties object
locationtextAzure resource location.
network_security_rulestextfield from the properties object
provisioning_statetextfield from the properties object
public_ip_prefix_idtextfield from the properties object
public_ipv6_prefix_idtextfield from the properties object
resourceGroupNametextfield from the properties object
service_endpointstextfield from the properties object
skutextService Fabric managed cluster Sku definition
subnet_idtextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextAzure resource tags.
typetextAzure resource type.
upgrade_descriptiontextfield from the properties object
use_custom_vnettextfield from the properties object
zonal_resiliencytextfield from the properties object
zonal_update_modetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTclusterName, resourceGroupName, subscriptionIdGet a Service Fabric managed cluster resource created or in the process of being created in the specified resource group.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGets all Service Fabric cluster resources created or in the process of being created in the resource group.
list_by_subscriptionSELECTsubscriptionIdGets all Service Fabric cluster resources created or in the process of being created in the subscription.
create_or_updateINSERTclusterName, resourceGroupName, subscriptionId, data__skuCreate or update a Service Fabric managed cluster resource with the specified name.
deleteDELETEclusterName, resourceGroupName, subscriptionIdDelete a Service Fabric managed cluster resource with the specified name.
updateUPDATEclusterName, resourceGroupName, subscriptionIdUpdate the tags of of a Service Fabric managed cluster resource with the specified name.
apply_maintenance_windowEXECclusterName, resourceGroupName, subscriptionIdAction to Apply Maintenance window on the Service Fabric Managed Clusters, right now. Any pending update will be applied.

SELECT examples

Gets all Service Fabric cluster resources created or in the process of being created in the subscription.

SELECT
id,
name,
addon_features,
admin_password,
admin_user_name,
allow_rdp_access,
application_type_versions_cleanup_policy,
auto_generated_domain_name_label_scope,
auxiliary_subnets,
azure_active_directory,
client_connection_port,
clients,
clusterName,
cluster_certificate_thumbprints,
cluster_code_version,
cluster_id,
cluster_state,
cluster_upgrade_cadence,
cluster_upgrade_mode,
custom_fqdn,
ddos_protection_plan_id,
dns_name,
enable_auto_os_upgrade,
enable_http_gateway_exclusive_auth_mode,
enable_ipv6,
enable_service_public_ip,
etag,
fabric_settings,
fqdn,
http_gateway_connection_port,
http_gateway_token_auth_connection_port,
ip_tags,
ipv4_address,
ipv6_address,
load_balancing_rules,
location,
network_security_rules,
provisioning_state,
public_ip_prefix_id,
public_ipv6_prefix_id,
resourceGroupName,
service_endpoints,
sku,
subnet_id,
subscriptionId,
system_data,
tags,
type,
upgrade_description,
use_custom_vnet,
zonal_resiliency,
zonal_update_mode
FROM azure.service_fabric_managed_clusters.vw_managed_clusters
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new managed_clusters resource.

/*+ create */
INSERT INTO azure.service_fabric_managed_clusters.managed_clusters (
clusterName,
resourceGroupName,
subscriptionId,
data__sku,
location,
tags,
systemData,
properties,
sku
)
SELECT
'{{ clusterName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__sku }}',
'{{ location }}',
'{{ tags }}',
'{{ systemData }}',
'{{ properties }}',
'{{ sku }}'
;

UPDATE example

Updates a managed_clusters resource.

/*+ update */
UPDATE azure.service_fabric_managed_clusters.managed_clusters
SET
tags = '{{ tags }}'
WHERE
clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified managed_clusters resource.

/*+ delete */
DELETE FROM azure.service_fabric_managed_clusters.managed_clusters
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';