1. Packages
  2. Azure Native v1
  3. API Docs
  4. servicefabric
  5. Service
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.servicefabric.Service

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    The service resource. API Version: 2020-03-01.

    Example Usage

    Put a service with maximum parameters

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var service = new AzureNative.ServiceFabric.Service("service", new()
        {
            ApplicationName = "myApp",
            ClusterName = "myCluster",
            CorrelationScheme = new[]
            {
                new AzureNative.ServiceFabric.Inputs.ServiceCorrelationDescriptionArgs
                {
                    Scheme = "Affinity",
                    ServiceName = "fabric:/app1/app1~svc1",
                },
            },
            DefaultMoveCost = "Medium",
            PartitionDescription = new AzureNative.ServiceFabric.Inputs.SingletonPartitionSchemeDescriptionArgs
            {
                PartitionScheme = "Singleton",
            },
            PlacementConstraints = "NodeType==frontend",
            ResourceGroupName = "resRg",
            ServiceDnsName = "my.service.dns",
            ServiceKind = "Stateless",
            ServiceLoadMetrics = new[]
            {
                new AzureNative.ServiceFabric.Inputs.ServiceLoadMetricDescriptionArgs
                {
                    Name = "metric1",
                    Weight = "Low",
                },
            },
            ServiceName = "myService",
            ServicePackageActivationMode = "SharedProcess",
            ServicePlacementPolicies = new[] {},
            ServiceTypeName = "myServiceType",
        });
    
    });
    
    package main
    
    import (
    	servicefabric "github.com/pulumi/pulumi-azure-native-sdk/servicefabric"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := servicefabric.NewService(ctx, "service", &servicefabric.ServiceArgs{
    			ApplicationName: pulumi.String("myApp"),
    			ClusterName:     pulumi.String("myCluster"),
    			CorrelationScheme: []servicefabric.ServiceCorrelationDescriptionArgs{
    				{
    					Scheme:      pulumi.String("Affinity"),
    					ServiceName: pulumi.String("fabric:/app1/app1~svc1"),
    				},
    			},
    			DefaultMoveCost: pulumi.String("Medium"),
    			PartitionDescription: servicefabric.SingletonPartitionSchemeDescription{
    				PartitionScheme: "Singleton",
    			},
    			PlacementConstraints: pulumi.String("NodeType==frontend"),
    			ResourceGroupName:    pulumi.String("resRg"),
    			ServiceDnsName:       pulumi.String("my.service.dns"),
    			ServiceKind:          pulumi.String("Stateless"),
    			ServiceLoadMetrics: []servicefabric.ServiceLoadMetricDescriptionArgs{
    				{
    					Name:   pulumi.String("metric1"),
    					Weight: pulumi.String("Low"),
    				},
    			},
    			ServiceName:                  pulumi.String("myService"),
    			ServicePackageActivationMode: pulumi.String("SharedProcess"),
    			ServicePlacementPolicies:     servicefabric.ServicePlacementPolicyDescriptionArray{},
    			ServiceTypeName:              pulumi.String("myServiceType"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.servicefabric.Service;
    import com.pulumi.azurenative.servicefabric.ServiceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var service = new Service("service", ServiceArgs.builder()        
                .applicationName("myApp")
                .clusterName("myCluster")
                .correlationScheme(Map.ofEntries(
                    Map.entry("scheme", "Affinity"),
                    Map.entry("serviceName", "fabric:/app1/app1~svc1")
                ))
                .defaultMoveCost("Medium")
                .partitionDescription(Map.of("partitionScheme", "Singleton"))
                .placementConstraints("NodeType==frontend")
                .resourceGroupName("resRg")
                .serviceDnsName("my.service.dns")
                .serviceKind("Stateless")
                .serviceLoadMetrics(Map.ofEntries(
                    Map.entry("name", "metric1"),
                    Map.entry("weight", "Low")
                ))
                .serviceName("myService")
                .servicePackageActivationMode("SharedProcess")
                .servicePlacementPolicies()
                .serviceTypeName("myServiceType")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    service = azure_native.servicefabric.Service("service",
        application_name="myApp",
        cluster_name="myCluster",
        correlation_scheme=[azure_native.servicefabric.ServiceCorrelationDescriptionArgs(
            scheme="Affinity",
            service_name="fabric:/app1/app1~svc1",
        )],
        default_move_cost="Medium",
        partition_description=azure_native.servicefabric.SingletonPartitionSchemeDescriptionArgs(
            partition_scheme="Singleton",
        ),
        placement_constraints="NodeType==frontend",
        resource_group_name="resRg",
        service_dns_name="my.service.dns",
        service_kind="Stateless",
        service_load_metrics=[azure_native.servicefabric.ServiceLoadMetricDescriptionArgs(
            name="metric1",
            weight="Low",
        )],
        service_name="myService",
        service_package_activation_mode="SharedProcess",
        service_placement_policies=[],
        service_type_name="myServiceType")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const service = new azure_native.servicefabric.Service("service", {
        applicationName: "myApp",
        clusterName: "myCluster",
        correlationScheme: [{
            scheme: "Affinity",
            serviceName: "fabric:/app1/app1~svc1",
        }],
        defaultMoveCost: "Medium",
        partitionDescription: {
            partitionScheme: "Singleton",
        },
        placementConstraints: "NodeType==frontend",
        resourceGroupName: "resRg",
        serviceDnsName: "my.service.dns",
        serviceKind: "Stateless",
        serviceLoadMetrics: [{
            name: "metric1",
            weight: "Low",
        }],
        serviceName: "myService",
        servicePackageActivationMode: "SharedProcess",
        servicePlacementPolicies: [],
        serviceTypeName: "myServiceType",
    });
    
    resources:
      service:
        type: azure-native:servicefabric:Service
        properties:
          applicationName: myApp
          clusterName: myCluster
          correlationScheme:
            - scheme: Affinity
              serviceName: fabric:/app1/app1~svc1
          defaultMoveCost: Medium
          partitionDescription:
            partitionScheme: Singleton
          placementConstraints: NodeType==frontend
          resourceGroupName: resRg
          serviceDnsName: my.service.dns
          serviceKind: Stateless
          serviceLoadMetrics:
            - name: metric1
              weight: Low
          serviceName: myService
          servicePackageActivationMode: SharedProcess
          servicePlacementPolicies: []
          serviceTypeName: myServiceType
    

    Put a service with minimum parameters

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var service = new AzureNative.ServiceFabric.Service("service", new()
        {
            ApplicationName = "myApp",
            ClusterName = "myCluster",
            PartitionDescription = new AzureNative.ServiceFabric.Inputs.SingletonPartitionSchemeDescriptionArgs
            {
                PartitionScheme = "Singleton",
            },
            ResourceGroupName = "resRg",
            ServiceKind = "Stateless",
            ServiceName = "myService",
            ServiceTypeName = "myServiceType",
        });
    
    });
    
    package main
    
    import (
    	servicefabric "github.com/pulumi/pulumi-azure-native-sdk/servicefabric"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := servicefabric.NewService(ctx, "service", &servicefabric.ServiceArgs{
    			ApplicationName: pulumi.String("myApp"),
    			ClusterName:     pulumi.String("myCluster"),
    			PartitionDescription: servicefabric.SingletonPartitionSchemeDescription{
    				PartitionScheme: "Singleton",
    			},
    			ResourceGroupName: pulumi.String("resRg"),
    			ServiceKind:       pulumi.String("Stateless"),
    			ServiceName:       pulumi.String("myService"),
    			ServiceTypeName:   pulumi.String("myServiceType"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.servicefabric.Service;
    import com.pulumi.azurenative.servicefabric.ServiceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var service = new Service("service", ServiceArgs.builder()        
                .applicationName("myApp")
                .clusterName("myCluster")
                .partitionDescription(Map.of("partitionScheme", "Singleton"))
                .resourceGroupName("resRg")
                .serviceKind("Stateless")
                .serviceName("myService")
                .serviceTypeName("myServiceType")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    service = azure_native.servicefabric.Service("service",
        application_name="myApp",
        cluster_name="myCluster",
        partition_description=azure_native.servicefabric.SingletonPartitionSchemeDescriptionArgs(
            partition_scheme="Singleton",
        ),
        resource_group_name="resRg",
        service_kind="Stateless",
        service_name="myService",
        service_type_name="myServiceType")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const service = new azure_native.servicefabric.Service("service", {
        applicationName: "myApp",
        clusterName: "myCluster",
        partitionDescription: {
            partitionScheme: "Singleton",
        },
        resourceGroupName: "resRg",
        serviceKind: "Stateless",
        serviceName: "myService",
        serviceTypeName: "myServiceType",
    });
    
    resources:
      service:
        type: azure-native:servicefabric:Service
        properties:
          applicationName: myApp
          clusterName: myCluster
          partitionDescription:
            partitionScheme: Singleton
          resourceGroupName: resRg
          serviceKind: Stateless
          serviceName: myService
          serviceTypeName: myServiceType
    

    Create Service Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Service(name: string, args: ServiceArgs, opts?: CustomResourceOptions);
    @overload
    def Service(resource_name: str,
                args: ServiceArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Service(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                resource_group_name: Optional[str] = None,
                cluster_name: Optional[str] = None,
                service_kind: Optional[Union[str, ServiceKind]] = None,
                application_name: Optional[str] = None,
                service_dns_name: Optional[str] = None,
                partition_description: Optional[Union[NamedPartitionSchemeDescriptionArgs, SingletonPartitionSchemeDescriptionArgs, UniformInt64RangePartitionSchemeDescriptionArgs]] = None,
                placement_constraints: Optional[str] = None,
                location: Optional[str] = None,
                default_move_cost: Optional[Union[str, MoveCost]] = None,
                correlation_scheme: Optional[Sequence[ServiceCorrelationDescriptionArgs]] = None,
                service_load_metrics: Optional[Sequence[ServiceLoadMetricDescriptionArgs]] = None,
                service_name: Optional[str] = None,
                service_package_activation_mode: Optional[Union[str, ArmServicePackageActivationMode]] = None,
                service_placement_policies: Optional[Sequence[ServicePlacementPolicyDescriptionArgs]] = None,
                service_type_name: Optional[str] = None,
                tags: Optional[Mapping[str, str]] = None)
    func NewService(ctx *Context, name string, args ServiceArgs, opts ...ResourceOption) (*Service, error)
    public Service(string name, ServiceArgs args, CustomResourceOptions? opts = null)
    public Service(String name, ServiceArgs args)
    public Service(String name, ServiceArgs args, CustomResourceOptions options)
    
    type: azure-native:servicefabric:Service
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ServiceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ServiceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var exampleserviceResourceResourceFromServicefabric = new AzureNative.Servicefabric.Service("exampleserviceResourceResourceFromServicefabric", new()
    {
        ResourceGroupName = "string",
        ClusterName = "string",
        ServiceKind = "string",
        ApplicationName = "string",
        ServiceDnsName = "string",
        PartitionDescription = 
        {
            { "count", 0 },
            { "names", new[]
            {
                "string",
            } },
            { "partitionScheme", "Named" },
        },
        PlacementConstraints = "string",
        Location = "string",
        DefaultMoveCost = "string",
        CorrelationScheme = new[]
        {
            
            {
                { "scheme", "string" },
                { "serviceName", "string" },
            },
        },
        ServiceLoadMetrics = new[]
        {
            
            {
                { "name", "string" },
                { "defaultLoad", 0 },
                { "primaryDefaultLoad", 0 },
                { "secondaryDefaultLoad", 0 },
                { "weight", "string" },
            },
        },
        ServiceName = "string",
        ServicePackageActivationMode = "string",
        ServicePlacementPolicies = new[]
        {
            
            {
                { "type", "string" },
            },
        },
        ServiceTypeName = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := servicefabric.NewService(ctx, "exampleserviceResourceResourceFromServicefabric", &servicefabric.ServiceArgs{
    	ResourceGroupName: "string",
    	ClusterName:       "string",
    	ServiceKind:       "string",
    	ApplicationName:   "string",
    	ServiceDnsName:    "string",
    	PartitionDescription: map[string]interface{}{
    		"count": 0,
    		"names": []string{
    			"string",
    		},
    		"partitionScheme": "Named",
    	},
    	PlacementConstraints: "string",
    	Location:             "string",
    	DefaultMoveCost:      "string",
    	CorrelationScheme: []map[string]interface{}{
    		map[string]interface{}{
    			"scheme":      "string",
    			"serviceName": "string",
    		},
    	},
    	ServiceLoadMetrics: []map[string]interface{}{
    		map[string]interface{}{
    			"name":                 "string",
    			"defaultLoad":          0,
    			"primaryDefaultLoad":   0,
    			"secondaryDefaultLoad": 0,
    			"weight":               "string",
    		},
    	},
    	ServiceName:                  "string",
    	ServicePackageActivationMode: "string",
    	ServicePlacementPolicies: []map[string]interface{}{
    		map[string]interface{}{
    			"type": "string",
    		},
    	},
    	ServiceTypeName: "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var exampleserviceResourceResourceFromServicefabric = new Service("exampleserviceResourceResourceFromServicefabric", ServiceArgs.builder()
        .resourceGroupName("string")
        .clusterName("string")
        .serviceKind("string")
        .applicationName("string")
        .serviceDnsName("string")
        .partitionDescription(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .placementConstraints("string")
        .location("string")
        .defaultMoveCost("string")
        .correlationScheme(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .serviceLoadMetrics(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .serviceName("string")
        .servicePackageActivationMode("string")
        .servicePlacementPolicies(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .serviceTypeName("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    exampleservice_resource_resource_from_servicefabric = azure_native.servicefabric.Service("exampleserviceResourceResourceFromServicefabric",
        resource_group_name=string,
        cluster_name=string,
        service_kind=string,
        application_name=string,
        service_dns_name=string,
        partition_description={
            count: 0,
            names: [string],
            partitionScheme: Named,
        },
        placement_constraints=string,
        location=string,
        default_move_cost=string,
        correlation_scheme=[{
            scheme: string,
            serviceName: string,
        }],
        service_load_metrics=[{
            name: string,
            defaultLoad: 0,
            primaryDefaultLoad: 0,
            secondaryDefaultLoad: 0,
            weight: string,
        }],
        service_name=string,
        service_package_activation_mode=string,
        service_placement_policies=[{
            type: string,
        }],
        service_type_name=string,
        tags={
            string: string,
        })
    
    const exampleserviceResourceResourceFromServicefabric = new azure_native.servicefabric.Service("exampleserviceResourceResourceFromServicefabric", {
        resourceGroupName: "string",
        clusterName: "string",
        serviceKind: "string",
        applicationName: "string",
        serviceDnsName: "string",
        partitionDescription: {
            count: 0,
            names: ["string"],
            partitionScheme: "Named",
        },
        placementConstraints: "string",
        location: "string",
        defaultMoveCost: "string",
        correlationScheme: [{
            scheme: "string",
            serviceName: "string",
        }],
        serviceLoadMetrics: [{
            name: "string",
            defaultLoad: 0,
            primaryDefaultLoad: 0,
            secondaryDefaultLoad: 0,
            weight: "string",
        }],
        serviceName: "string",
        servicePackageActivationMode: "string",
        servicePlacementPolicies: [{
            type: "string",
        }],
        serviceTypeName: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:servicefabric:Service
    properties:
        applicationName: string
        clusterName: string
        correlationScheme:
            - scheme: string
              serviceName: string
        defaultMoveCost: string
        location: string
        partitionDescription:
            count: 0
            names:
                - string
            partitionScheme: Named
        placementConstraints: string
        resourceGroupName: string
        serviceDnsName: string
        serviceKind: string
        serviceLoadMetrics:
            - defaultLoad: 0
              name: string
              primaryDefaultLoad: 0
              secondaryDefaultLoad: 0
              weight: string
        serviceName: string
        servicePackageActivationMode: string
        servicePlacementPolicies:
            - type: string
        serviceTypeName: string
        tags:
            string: string
    

    Service Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Service resource accepts the following input properties:

    ApplicationName string
    The name of the application resource.
    ClusterName string
    The name of the cluster resource.
    ResourceGroupName string
    The name of the resource group.
    ServiceKind string | Pulumi.AzureNative.ServiceFabric.ServiceKind
    The kind of service (Stateless or Stateful).
    CorrelationScheme List<Pulumi.AzureNative.ServiceFabric.Inputs.ServiceCorrelationDescription>
    A list that describes the correlation of the service with other services.
    DefaultMoveCost string | Pulumi.AzureNative.ServiceFabric.MoveCost
    Specifies the move cost for the service.
    Location string
    It will be deprecated in New API, resource location depends on the parent resource.
    PartitionDescription Pulumi.AzureNative.ServiceFabric.Inputs.NamedPartitionSchemeDescription | Pulumi.AzureNative.ServiceFabric.Inputs.SingletonPartitionSchemeDescription | Pulumi.AzureNative.ServiceFabric.Inputs.UniformInt64RangePartitionSchemeDescription
    Describes how the service is partitioned.
    PlacementConstraints string
    The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".
    ServiceDnsName string
    Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name.
    ServiceLoadMetrics List<Pulumi.AzureNative.ServiceFabric.Inputs.ServiceLoadMetricDescription>
    The service load metrics is given as an array of ServiceLoadMetricDescription objects.
    ServiceName string
    The name of the service resource in the format of {applicationName}~{serviceName}.
    ServicePackageActivationMode string | Pulumi.AzureNative.ServiceFabric.ArmServicePackageActivationMode
    The activation Mode of the service package
    ServicePlacementPolicies List<Pulumi.AzureNative.ServiceFabric.Inputs.ServicePlacementPolicyDescription>
    A list that describes the correlation of the service with other services.
    ServiceTypeName string
    The name of the service type
    Tags Dictionary<string, string>
    Azure resource tags.
    ApplicationName string
    The name of the application resource.
    ClusterName string
    The name of the cluster resource.
    ResourceGroupName string
    The name of the resource group.
    ServiceKind string | ServiceKind
    The kind of service (Stateless or Stateful).
    CorrelationScheme []ServiceCorrelationDescriptionArgs
    A list that describes the correlation of the service with other services.
    DefaultMoveCost string | MoveCost
    Specifies the move cost for the service.
    Location string
    It will be deprecated in New API, resource location depends on the parent resource.
    PartitionDescription NamedPartitionSchemeDescriptionArgs | SingletonPartitionSchemeDescriptionArgs | UniformInt64RangePartitionSchemeDescriptionArgs
    Describes how the service is partitioned.
    PlacementConstraints string
    The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".
    ServiceDnsName string
    Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name.
    ServiceLoadMetrics []ServiceLoadMetricDescriptionArgs
    The service load metrics is given as an array of ServiceLoadMetricDescription objects.
    ServiceName string
    The name of the service resource in the format of {applicationName}~{serviceName}.
    ServicePackageActivationMode string | ArmServicePackageActivationMode
    The activation Mode of the service package
    ServicePlacementPolicies []ServicePlacementPolicyDescriptionArgs
    A list that describes the correlation of the service with other services.
    ServiceTypeName string
    The name of the service type
    Tags map[string]string
    Azure resource tags.
    applicationName String
    The name of the application resource.
    clusterName String
    The name of the cluster resource.
    resourceGroupName String
    The name of the resource group.
    serviceKind String | ServiceKind
    The kind of service (Stateless or Stateful).
    correlationScheme List<ServiceCorrelationDescription>
    A list that describes the correlation of the service with other services.
    defaultMoveCost String | MoveCost
    Specifies the move cost for the service.
    location String
    It will be deprecated in New API, resource location depends on the parent resource.
    partitionDescription NamedPartitionSchemeDescription | SingletonPartitionSchemeDescription | UniformInt64RangePartitionSchemeDescription
    Describes how the service is partitioned.
    placementConstraints String
    The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".
    serviceDnsName String
    Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name.
    serviceLoadMetrics List<ServiceLoadMetricDescription>
    The service load metrics is given as an array of ServiceLoadMetricDescription objects.
    serviceName String
    The name of the service resource in the format of {applicationName}~{serviceName}.
    servicePackageActivationMode String | ArmServicePackageActivationMode
    The activation Mode of the service package
    servicePlacementPolicies List<ServicePlacementPolicyDescription>
    A list that describes the correlation of the service with other services.
    serviceTypeName String
    The name of the service type
    tags Map<String,String>
    Azure resource tags.
    applicationName string
    The name of the application resource.
    clusterName string
    The name of the cluster resource.
    resourceGroupName string
    The name of the resource group.
    serviceKind string | ServiceKind
    The kind of service (Stateless or Stateful).
    correlationScheme ServiceCorrelationDescription[]
    A list that describes the correlation of the service with other services.
    defaultMoveCost string | MoveCost
    Specifies the move cost for the service.
    location string
    It will be deprecated in New API, resource location depends on the parent resource.
    partitionDescription NamedPartitionSchemeDescription | SingletonPartitionSchemeDescription | UniformInt64RangePartitionSchemeDescription
    Describes how the service is partitioned.
    placementConstraints string
    The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".
    serviceDnsName string
    Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name.
    serviceLoadMetrics ServiceLoadMetricDescription[]
    The service load metrics is given as an array of ServiceLoadMetricDescription objects.
    serviceName string
    The name of the service resource in the format of {applicationName}~{serviceName}.
    servicePackageActivationMode string | ArmServicePackageActivationMode
    The activation Mode of the service package
    servicePlacementPolicies ServicePlacementPolicyDescription[]
    A list that describes the correlation of the service with other services.
    serviceTypeName string
    The name of the service type
    tags {[key: string]: string}
    Azure resource tags.
    application_name str
    The name of the application resource.
    cluster_name str
    The name of the cluster resource.
    resource_group_name str
    The name of the resource group.
    service_kind str | ServiceKind
    The kind of service (Stateless or Stateful).
    correlation_scheme Sequence[ServiceCorrelationDescriptionArgs]
    A list that describes the correlation of the service with other services.
    default_move_cost str | MoveCost
    Specifies the move cost for the service.
    location str
    It will be deprecated in New API, resource location depends on the parent resource.
    partition_description NamedPartitionSchemeDescriptionArgs | SingletonPartitionSchemeDescriptionArgs | UniformInt64RangePartitionSchemeDescriptionArgs
    Describes how the service is partitioned.
    placement_constraints str
    The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".
    service_dns_name str
    Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name.
    service_load_metrics Sequence[ServiceLoadMetricDescriptionArgs]
    The service load metrics is given as an array of ServiceLoadMetricDescription objects.
    service_name str
    The name of the service resource in the format of {applicationName}~{serviceName}.
    service_package_activation_mode str | ArmServicePackageActivationMode
    The activation Mode of the service package
    service_placement_policies Sequence[ServicePlacementPolicyDescriptionArgs]
    A list that describes the correlation of the service with other services.
    service_type_name str
    The name of the service type
    tags Mapping[str, str]
    Azure resource tags.
    applicationName String
    The name of the application resource.
    clusterName String
    The name of the cluster resource.
    resourceGroupName String
    The name of the resource group.
    serviceKind String | "Invalid" | "Stateless" | "Stateful"
    The kind of service (Stateless or Stateful).
    correlationScheme List<Property Map>
    A list that describes the correlation of the service with other services.
    defaultMoveCost String | "Zero" | "Low" | "Medium" | "High"
    Specifies the move cost for the service.
    location String
    It will be deprecated in New API, resource location depends on the parent resource.
    partitionDescription Property Map | Property Map | Property Map
    Describes how the service is partitioned.
    placementConstraints String
    The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".
    serviceDnsName String
    Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name.
    serviceLoadMetrics List<Property Map>
    The service load metrics is given as an array of ServiceLoadMetricDescription objects.
    serviceName String
    The name of the service resource in the format of {applicationName}~{serviceName}.
    servicePackageActivationMode String | "SharedProcess" | "ExclusiveProcess"
    The activation Mode of the service package
    servicePlacementPolicies List<Property Map>
    A list that describes the correlation of the service with other services.
    serviceTypeName String
    The name of the service type
    tags Map<String>
    Azure resource tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Service resource produces the following output properties:

    Etag string
    Azure resource etag.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Azure resource name.
    ProvisioningState string
    The current deployment or provisioning state, which only appears in the response
    Type string
    Azure resource type.
    Etag string
    Azure resource etag.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Azure resource name.
    ProvisioningState string
    The current deployment or provisioning state, which only appears in the response
    Type string
    Azure resource type.
    etag String
    Azure resource etag.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Azure resource name.
    provisioningState String
    The current deployment or provisioning state, which only appears in the response
    type String
    Azure resource type.
    etag string
    Azure resource etag.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Azure resource name.
    provisioningState string
    The current deployment or provisioning state, which only appears in the response
    type string
    Azure resource type.
    etag str
    Azure resource etag.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Azure resource name.
    provisioning_state str
    The current deployment or provisioning state, which only appears in the response
    type str
    Azure resource type.
    etag String
    Azure resource etag.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Azure resource name.
    provisioningState String
    The current deployment or provisioning state, which only appears in the response
    type String
    Azure resource type.

    Supporting Types

    ArmServicePackageActivationMode, ArmServicePackageActivationModeArgs

    SharedProcess
    SharedProcessIndicates the application package activation mode will use shared process.
    ExclusiveProcess
    ExclusiveProcessIndicates the application package activation mode will use exclusive process.
    ArmServicePackageActivationModeSharedProcess
    SharedProcessIndicates the application package activation mode will use shared process.
    ArmServicePackageActivationModeExclusiveProcess
    ExclusiveProcessIndicates the application package activation mode will use exclusive process.
    SharedProcess
    SharedProcessIndicates the application package activation mode will use shared process.
    ExclusiveProcess
    ExclusiveProcessIndicates the application package activation mode will use exclusive process.
    SharedProcess
    SharedProcessIndicates the application package activation mode will use shared process.
    ExclusiveProcess
    ExclusiveProcessIndicates the application package activation mode will use exclusive process.
    SHARED_PROCESS
    SharedProcessIndicates the application package activation mode will use shared process.
    EXCLUSIVE_PROCESS
    ExclusiveProcessIndicates the application package activation mode will use exclusive process.
    "SharedProcess"
    SharedProcessIndicates the application package activation mode will use shared process.
    "ExclusiveProcess"
    ExclusiveProcessIndicates the application package activation mode will use exclusive process.

    MoveCost, MoveCostArgs

    Zero
    ZeroZero move cost. This value is zero.
    Low
    LowSpecifies the move cost of the service as Low. The value is 1.
    Medium
    MediumSpecifies the move cost of the service as Medium. The value is 2.
    High
    HighSpecifies the move cost of the service as High. The value is 3.
    MoveCostZero
    ZeroZero move cost. This value is zero.
    MoveCostLow
    LowSpecifies the move cost of the service as Low. The value is 1.
    MoveCostMedium
    MediumSpecifies the move cost of the service as Medium. The value is 2.
    MoveCostHigh
    HighSpecifies the move cost of the service as High. The value is 3.
    Zero
    ZeroZero move cost. This value is zero.
    Low
    LowSpecifies the move cost of the service as Low. The value is 1.
    Medium
    MediumSpecifies the move cost of the service as Medium. The value is 2.
    High
    HighSpecifies the move cost of the service as High. The value is 3.
    Zero
    ZeroZero move cost. This value is zero.
    Low
    LowSpecifies the move cost of the service as Low. The value is 1.
    Medium
    MediumSpecifies the move cost of the service as Medium. The value is 2.
    High
    HighSpecifies the move cost of the service as High. The value is 3.
    ZERO
    ZeroZero move cost. This value is zero.
    LOW
    LowSpecifies the move cost of the service as Low. The value is 1.
    MEDIUM
    MediumSpecifies the move cost of the service as Medium. The value is 2.
    HIGH
    HighSpecifies the move cost of the service as High. The value is 3.
    "Zero"
    ZeroZero move cost. This value is zero.
    "Low"
    LowSpecifies the move cost of the service as Low. The value is 1.
    "Medium"
    MediumSpecifies the move cost of the service as Medium. The value is 2.
    "High"
    HighSpecifies the move cost of the service as High. The value is 3.

    NamedPartitionSchemeDescription, NamedPartitionSchemeDescriptionArgs

    Count int
    The number of partitions.
    Names List<string>
    Array of size specified by the ‘count’ parameter, for the names of the partitions.
    Count int
    The number of partitions.
    Names []string
    Array of size specified by the ‘count’ parameter, for the names of the partitions.
    count Integer
    The number of partitions.
    names List<String>
    Array of size specified by the ‘count’ parameter, for the names of the partitions.
    count number
    The number of partitions.
    names string[]
    Array of size specified by the ‘count’ parameter, for the names of the partitions.
    count int
    The number of partitions.
    names Sequence[str]
    Array of size specified by the ‘count’ parameter, for the names of the partitions.
    count Number
    The number of partitions.
    names List<String>
    Array of size specified by the ‘count’ parameter, for the names of the partitions.

    NamedPartitionSchemeDescriptionResponse, NamedPartitionSchemeDescriptionResponseArgs

    Count int
    The number of partitions.
    Names List<string>
    Array of size specified by the ‘count’ parameter, for the names of the partitions.
    Count int
    The number of partitions.
    Names []string
    Array of size specified by the ‘count’ parameter, for the names of the partitions.
    count Integer
    The number of partitions.
    names List<String>
    Array of size specified by the ‘count’ parameter, for the names of the partitions.
    count number
    The number of partitions.
    names string[]
    Array of size specified by the ‘count’ parameter, for the names of the partitions.
    count int
    The number of partitions.
    names Sequence[str]
    Array of size specified by the ‘count’ parameter, for the names of the partitions.
    count Number
    The number of partitions.
    names List<String>
    Array of size specified by the ‘count’ parameter, for the names of the partitions.

    ServiceCorrelationDescription, ServiceCorrelationDescriptionArgs

    Scheme string | Pulumi.AzureNative.ServiceFabric.ServiceCorrelationScheme
    The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
    ServiceName string
    The name of the service that the correlation relationship is established with.
    Scheme string | ServiceCorrelationScheme
    The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
    ServiceName string
    The name of the service that the correlation relationship is established with.
    scheme String | ServiceCorrelationScheme
    The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
    serviceName String
    The name of the service that the correlation relationship is established with.
    scheme string | ServiceCorrelationScheme
    The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
    serviceName string
    The name of the service that the correlation relationship is established with.
    scheme str | ServiceCorrelationScheme
    The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
    service_name str
    The name of the service that the correlation relationship is established with.
    scheme String | "Invalid" | "Affinity" | "AlignedAffinity" | "NonAlignedAffinity"
    The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
    serviceName String
    The name of the service that the correlation relationship is established with.

    ServiceCorrelationDescriptionResponse, ServiceCorrelationDescriptionResponseArgs

    Scheme string
    The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
    ServiceName string
    The name of the service that the correlation relationship is established with.
    Scheme string
    The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
    ServiceName string
    The name of the service that the correlation relationship is established with.
    scheme String
    The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
    serviceName String
    The name of the service that the correlation relationship is established with.
    scheme string
    The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
    serviceName string
    The name of the service that the correlation relationship is established with.
    scheme str
    The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
    service_name str
    The name of the service that the correlation relationship is established with.
    scheme String
    The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
    serviceName String
    The name of the service that the correlation relationship is established with.

    ServiceCorrelationScheme, ServiceCorrelationSchemeArgs

    Invalid
    InvalidAn invalid correlation scheme. Cannot be used. The value is zero.
    Affinity
    AffinityIndicates that this service has an affinity relationship with another service. Provided for backwards compatibility, consider preferring the Aligned or NonAlignedAffinity options. The value is 1.
    AlignedAffinity
    AlignedAffinityAligned affinity ensures that the primaries of the partitions of the affinitized services are collocated on the same nodes. This is the default and is the same as selecting the Affinity scheme. The value is 2.
    NonAlignedAffinity
    NonAlignedAffinityNon-Aligned affinity guarantees that all replicas of each service will be placed on the same nodes. Unlike Aligned Affinity, this does not guarantee that replicas of particular role will be collocated. The value is 3.
    ServiceCorrelationSchemeInvalid
    InvalidAn invalid correlation scheme. Cannot be used. The value is zero.
    ServiceCorrelationSchemeAffinity
    AffinityIndicates that this service has an affinity relationship with another service. Provided for backwards compatibility, consider preferring the Aligned or NonAlignedAffinity options. The value is 1.
    ServiceCorrelationSchemeAlignedAffinity
    AlignedAffinityAligned affinity ensures that the primaries of the partitions of the affinitized services are collocated on the same nodes. This is the default and is the same as selecting the Affinity scheme. The value is 2.
    ServiceCorrelationSchemeNonAlignedAffinity
    NonAlignedAffinityNon-Aligned affinity guarantees that all replicas of each service will be placed on the same nodes. Unlike Aligned Affinity, this does not guarantee that replicas of particular role will be collocated. The value is 3.
    Invalid
    InvalidAn invalid correlation scheme. Cannot be used. The value is zero.
    Affinity
    AffinityIndicates that this service has an affinity relationship with another service. Provided for backwards compatibility, consider preferring the Aligned or NonAlignedAffinity options. The value is 1.
    AlignedAffinity
    AlignedAffinityAligned affinity ensures that the primaries of the partitions of the affinitized services are collocated on the same nodes. This is the default and is the same as selecting the Affinity scheme. The value is 2.
    NonAlignedAffinity
    NonAlignedAffinityNon-Aligned affinity guarantees that all replicas of each service will be placed on the same nodes. Unlike Aligned Affinity, this does not guarantee that replicas of particular role will be collocated. The value is 3.
    Invalid
    InvalidAn invalid correlation scheme. Cannot be used. The value is zero.
    Affinity
    AffinityIndicates that this service has an affinity relationship with another service. Provided for backwards compatibility, consider preferring the Aligned or NonAlignedAffinity options. The value is 1.
    AlignedAffinity
    AlignedAffinityAligned affinity ensures that the primaries of the partitions of the affinitized services are collocated on the same nodes. This is the default and is the same as selecting the Affinity scheme. The value is 2.
    NonAlignedAffinity
    NonAlignedAffinityNon-Aligned affinity guarantees that all replicas of each service will be placed on the same nodes. Unlike Aligned Affinity, this does not guarantee that replicas of particular role will be collocated. The value is 3.
    INVALID
    InvalidAn invalid correlation scheme. Cannot be used. The value is zero.
    AFFINITY
    AffinityIndicates that this service has an affinity relationship with another service. Provided for backwards compatibility, consider preferring the Aligned or NonAlignedAffinity options. The value is 1.
    ALIGNED_AFFINITY
    AlignedAffinityAligned affinity ensures that the primaries of the partitions of the affinitized services are collocated on the same nodes. This is the default and is the same as selecting the Affinity scheme. The value is 2.
    NON_ALIGNED_AFFINITY
    NonAlignedAffinityNon-Aligned affinity guarantees that all replicas of each service will be placed on the same nodes. Unlike Aligned Affinity, this does not guarantee that replicas of particular role will be collocated. The value is 3.
    "Invalid"
    InvalidAn invalid correlation scheme. Cannot be used. The value is zero.
    "Affinity"
    AffinityIndicates that this service has an affinity relationship with another service. Provided for backwards compatibility, consider preferring the Aligned or NonAlignedAffinity options. The value is 1.
    "AlignedAffinity"
    AlignedAffinityAligned affinity ensures that the primaries of the partitions of the affinitized services are collocated on the same nodes. This is the default and is the same as selecting the Affinity scheme. The value is 2.
    "NonAlignedAffinity"
    NonAlignedAffinityNon-Aligned affinity guarantees that all replicas of each service will be placed on the same nodes. Unlike Aligned Affinity, this does not guarantee that replicas of particular role will be collocated. The value is 3.

    ServiceKind, ServiceKindArgs

    Invalid
    InvalidIndicates the service kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
    Stateless
    StatelessDoes not use Service Fabric to make its state highly available or reliable. The value is 1.
    Stateful
    StatefulUses Service Fabric to make its state or part of its state highly available and reliable. The value is 2.
    ServiceKindInvalid
    InvalidIndicates the service kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
    ServiceKindStateless
    StatelessDoes not use Service Fabric to make its state highly available or reliable. The value is 1.
    ServiceKindStateful
    StatefulUses Service Fabric to make its state or part of its state highly available and reliable. The value is 2.
    Invalid
    InvalidIndicates the service kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
    Stateless
    StatelessDoes not use Service Fabric to make its state highly available or reliable. The value is 1.
    Stateful
    StatefulUses Service Fabric to make its state or part of its state highly available and reliable. The value is 2.
    Invalid
    InvalidIndicates the service kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
    Stateless
    StatelessDoes not use Service Fabric to make its state highly available or reliable. The value is 1.
    Stateful
    StatefulUses Service Fabric to make its state or part of its state highly available and reliable. The value is 2.
    INVALID
    InvalidIndicates the service kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
    STATELESS
    StatelessDoes not use Service Fabric to make its state highly available or reliable. The value is 1.
    STATEFUL
    StatefulUses Service Fabric to make its state or part of its state highly available and reliable. The value is 2.
    "Invalid"
    InvalidIndicates the service kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
    "Stateless"
    StatelessDoes not use Service Fabric to make its state highly available or reliable. The value is 1.
    "Stateful"
    StatefulUses Service Fabric to make its state or part of its state highly available and reliable. The value is 2.

    ServiceLoadMetricDescription, ServiceLoadMetricDescriptionArgs

    Name string
    The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive.
    DefaultLoad int
    Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
    PrimaryDefaultLoad int
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica.
    SecondaryDefaultLoad int
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica.
    Weight string | Pulumi.AzureNative.ServiceFabric.ServiceLoadMetricWeight
    The service load metric relative weight, compared to other metrics configured for this service, as a number.
    Name string
    The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive.
    DefaultLoad int
    Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
    PrimaryDefaultLoad int
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica.
    SecondaryDefaultLoad int
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica.
    Weight string | ServiceLoadMetricWeight
    The service load metric relative weight, compared to other metrics configured for this service, as a number.
    name String
    The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive.
    defaultLoad Integer
    Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
    primaryDefaultLoad Integer
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica.
    secondaryDefaultLoad Integer
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica.
    weight String | ServiceLoadMetricWeight
    The service load metric relative weight, compared to other metrics configured for this service, as a number.
    name string
    The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive.
    defaultLoad number
    Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
    primaryDefaultLoad number
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica.
    secondaryDefaultLoad number
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica.
    weight string | ServiceLoadMetricWeight
    The service load metric relative weight, compared to other metrics configured for this service, as a number.
    name str
    The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive.
    default_load int
    Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
    primary_default_load int
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica.
    secondary_default_load int
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica.
    weight str | ServiceLoadMetricWeight
    The service load metric relative weight, compared to other metrics configured for this service, as a number.
    name String
    The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive.
    defaultLoad Number
    Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
    primaryDefaultLoad Number
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica.
    secondaryDefaultLoad Number
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica.
    weight String | "Zero" | "Low" | "Medium" | "High"
    The service load metric relative weight, compared to other metrics configured for this service, as a number.

    ServiceLoadMetricDescriptionResponse, ServiceLoadMetricDescriptionResponseArgs

    Name string
    The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive.
    DefaultLoad int
    Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
    PrimaryDefaultLoad int
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica.
    SecondaryDefaultLoad int
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica.
    Weight string
    The service load metric relative weight, compared to other metrics configured for this service, as a number.
    Name string
    The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive.
    DefaultLoad int
    Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
    PrimaryDefaultLoad int
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica.
    SecondaryDefaultLoad int
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica.
    Weight string
    The service load metric relative weight, compared to other metrics configured for this service, as a number.
    name String
    The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive.
    defaultLoad Integer
    Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
    primaryDefaultLoad Integer
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica.
    secondaryDefaultLoad Integer
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica.
    weight String
    The service load metric relative weight, compared to other metrics configured for this service, as a number.
    name string
    The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive.
    defaultLoad number
    Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
    primaryDefaultLoad number
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica.
    secondaryDefaultLoad number
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica.
    weight string
    The service load metric relative weight, compared to other metrics configured for this service, as a number.
    name str
    The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive.
    default_load int
    Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
    primary_default_load int
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica.
    secondary_default_load int
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica.
    weight str
    The service load metric relative weight, compared to other metrics configured for this service, as a number.
    name String
    The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive.
    defaultLoad Number
    Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
    primaryDefaultLoad Number
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica.
    secondaryDefaultLoad Number
    Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica.
    weight String
    The service load metric relative weight, compared to other metrics configured for this service, as a number.

    ServiceLoadMetricWeight, ServiceLoadMetricWeightArgs

    Zero
    ZeroDisables resource balancing for this metric. This value is zero.
    Low
    LowSpecifies the metric weight of the service load as Low. The value is 1.
    Medium
    MediumSpecifies the metric weight of the service load as Medium. The value is 2.
    High
    HighSpecifies the metric weight of the service load as High. The value is 3.
    ServiceLoadMetricWeightZero
    ZeroDisables resource balancing for this metric. This value is zero.
    ServiceLoadMetricWeightLow
    LowSpecifies the metric weight of the service load as Low. The value is 1.
    ServiceLoadMetricWeightMedium
    MediumSpecifies the metric weight of the service load as Medium. The value is 2.
    ServiceLoadMetricWeightHigh
    HighSpecifies the metric weight of the service load as High. The value is 3.
    Zero
    ZeroDisables resource balancing for this metric. This value is zero.
    Low
    LowSpecifies the metric weight of the service load as Low. The value is 1.
    Medium
    MediumSpecifies the metric weight of the service load as Medium. The value is 2.
    High
    HighSpecifies the metric weight of the service load as High. The value is 3.
    Zero
    ZeroDisables resource balancing for this metric. This value is zero.
    Low
    LowSpecifies the metric weight of the service load as Low. The value is 1.
    Medium
    MediumSpecifies the metric weight of the service load as Medium. The value is 2.
    High
    HighSpecifies the metric weight of the service load as High. The value is 3.
    ZERO
    ZeroDisables resource balancing for this metric. This value is zero.
    LOW
    LowSpecifies the metric weight of the service load as Low. The value is 1.
    MEDIUM
    MediumSpecifies the metric weight of the service load as Medium. The value is 2.
    HIGH
    HighSpecifies the metric weight of the service load as High. The value is 3.
    "Zero"
    ZeroDisables resource balancing for this metric. This value is zero.
    "Low"
    LowSpecifies the metric weight of the service load as Low. The value is 1.
    "Medium"
    MediumSpecifies the metric weight of the service load as Medium. The value is 2.
    "High"
    HighSpecifies the metric weight of the service load as High. The value is 3.

    ServicePlacementPolicyDescription, ServicePlacementPolicyDescriptionArgs

    Type string | Pulumi.AzureNative.ServiceFabric.ServicePlacementPolicyType
    The type of placement policy for a service fabric service. Following are the possible values.
    Type string | ServicePlacementPolicyType
    The type of placement policy for a service fabric service. Following are the possible values.
    type String | ServicePlacementPolicyType
    The type of placement policy for a service fabric service. Following are the possible values.
    type string | ServicePlacementPolicyType
    The type of placement policy for a service fabric service. Following are the possible values.
    type str | ServicePlacementPolicyType
    The type of placement policy for a service fabric service. Following are the possible values.
    type String | "Invalid" | "InvalidDomain" | "RequiredDomain" | "PreferredPrimaryDomain" | "RequiredDomainDistribution" | "NonPartiallyPlaceService"
    The type of placement policy for a service fabric service. Following are the possible values.

    ServicePlacementPolicyDescriptionResponse, ServicePlacementPolicyDescriptionResponseArgs

    Type string
    The type of placement policy for a service fabric service. Following are the possible values.
    Type string
    The type of placement policy for a service fabric service. Following are the possible values.
    type String
    The type of placement policy for a service fabric service. Following are the possible values.
    type string
    The type of placement policy for a service fabric service. Following are the possible values.
    type str
    The type of placement policy for a service fabric service. Following are the possible values.
    type String
    The type of placement policy for a service fabric service. Following are the possible values.

    ServicePlacementPolicyType, ServicePlacementPolicyTypeArgs

    Invalid
    InvalidIndicates the type of the placement policy is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
    InvalidDomain
    InvalidDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementInvalidDomainPolicyDescription, which indicates that a particular fault or upgrade domain cannot be used for placement of this service. The value is 1.
    RequiredDomain
    RequiredDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription indicating that the replicas of the service must be placed in a specific domain. The value is 2.
    PreferredPrimaryDomain
    PreferredPrimaryDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementPreferPrimaryDomainPolicyDescription, which indicates that if possible the Primary replica for the partitions of the service should be located in a particular domain as an optimization. The value is 3.
    RequiredDomainDistribution
    RequiredDomainDistributionIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription, indicating that the system will disallow placement of any two replicas from the same partition in the same domain at any time. The value is 4.
    NonPartiallyPlaceService
    NonPartiallyPlaceServiceIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementNonPartiallyPlaceServicePolicyDescription, which indicates that if possible all replicas of a particular partition of the service should be placed atomically. The value is 5.
    ServicePlacementPolicyTypeInvalid
    InvalidIndicates the type of the placement policy is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
    ServicePlacementPolicyTypeInvalidDomain
    InvalidDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementInvalidDomainPolicyDescription, which indicates that a particular fault or upgrade domain cannot be used for placement of this service. The value is 1.
    ServicePlacementPolicyTypeRequiredDomain
    RequiredDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription indicating that the replicas of the service must be placed in a specific domain. The value is 2.
    ServicePlacementPolicyTypePreferredPrimaryDomain
    PreferredPrimaryDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementPreferPrimaryDomainPolicyDescription, which indicates that if possible the Primary replica for the partitions of the service should be located in a particular domain as an optimization. The value is 3.
    ServicePlacementPolicyTypeRequiredDomainDistribution
    RequiredDomainDistributionIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription, indicating that the system will disallow placement of any two replicas from the same partition in the same domain at any time. The value is 4.
    ServicePlacementPolicyTypeNonPartiallyPlaceService
    NonPartiallyPlaceServiceIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementNonPartiallyPlaceServicePolicyDescription, which indicates that if possible all replicas of a particular partition of the service should be placed atomically. The value is 5.
    Invalid
    InvalidIndicates the type of the placement policy is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
    InvalidDomain
    InvalidDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementInvalidDomainPolicyDescription, which indicates that a particular fault or upgrade domain cannot be used for placement of this service. The value is 1.
    RequiredDomain
    RequiredDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription indicating that the replicas of the service must be placed in a specific domain. The value is 2.
    PreferredPrimaryDomain
    PreferredPrimaryDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementPreferPrimaryDomainPolicyDescription, which indicates that if possible the Primary replica for the partitions of the service should be located in a particular domain as an optimization. The value is 3.
    RequiredDomainDistribution
    RequiredDomainDistributionIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription, indicating that the system will disallow placement of any two replicas from the same partition in the same domain at any time. The value is 4.
    NonPartiallyPlaceService
    NonPartiallyPlaceServiceIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementNonPartiallyPlaceServicePolicyDescription, which indicates that if possible all replicas of a particular partition of the service should be placed atomically. The value is 5.
    Invalid
    InvalidIndicates the type of the placement policy is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
    InvalidDomain
    InvalidDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementInvalidDomainPolicyDescription, which indicates that a particular fault or upgrade domain cannot be used for placement of this service. The value is 1.
    RequiredDomain
    RequiredDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription indicating that the replicas of the service must be placed in a specific domain. The value is 2.
    PreferredPrimaryDomain
    PreferredPrimaryDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementPreferPrimaryDomainPolicyDescription, which indicates that if possible the Primary replica for the partitions of the service should be located in a particular domain as an optimization. The value is 3.
    RequiredDomainDistribution
    RequiredDomainDistributionIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription, indicating that the system will disallow placement of any two replicas from the same partition in the same domain at any time. The value is 4.
    NonPartiallyPlaceService
    NonPartiallyPlaceServiceIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementNonPartiallyPlaceServicePolicyDescription, which indicates that if possible all replicas of a particular partition of the service should be placed atomically. The value is 5.
    INVALID
    InvalidIndicates the type of the placement policy is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
    INVALID_DOMAIN
    InvalidDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementInvalidDomainPolicyDescription, which indicates that a particular fault or upgrade domain cannot be used for placement of this service. The value is 1.
    REQUIRED_DOMAIN
    RequiredDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription indicating that the replicas of the service must be placed in a specific domain. The value is 2.
    PREFERRED_PRIMARY_DOMAIN
    PreferredPrimaryDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementPreferPrimaryDomainPolicyDescription, which indicates that if possible the Primary replica for the partitions of the service should be located in a particular domain as an optimization. The value is 3.
    REQUIRED_DOMAIN_DISTRIBUTION
    RequiredDomainDistributionIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription, indicating that the system will disallow placement of any two replicas from the same partition in the same domain at any time. The value is 4.
    NON_PARTIALLY_PLACE_SERVICE
    NonPartiallyPlaceServiceIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementNonPartiallyPlaceServicePolicyDescription, which indicates that if possible all replicas of a particular partition of the service should be placed atomically. The value is 5.
    "Invalid"
    InvalidIndicates the type of the placement policy is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
    "InvalidDomain"
    InvalidDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementInvalidDomainPolicyDescription, which indicates that a particular fault or upgrade domain cannot be used for placement of this service. The value is 1.
    "RequiredDomain"
    RequiredDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription indicating that the replicas of the service must be placed in a specific domain. The value is 2.
    "PreferredPrimaryDomain"
    PreferredPrimaryDomainIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementPreferPrimaryDomainPolicyDescription, which indicates that if possible the Primary replica for the partitions of the service should be located in a particular domain as an optimization. The value is 3.
    "RequiredDomainDistribution"
    RequiredDomainDistributionIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription, indicating that the system will disallow placement of any two replicas from the same partition in the same domain at any time. The value is 4.
    "NonPartiallyPlaceService"
    NonPartiallyPlaceServiceIndicates that the ServicePlacementPolicyDescription is of type ServicePlacementNonPartiallyPlaceServicePolicyDescription, which indicates that if possible all replicas of a particular partition of the service should be placed atomically. The value is 5.

    SingletonPartitionSchemeDescription, SingletonPartitionSchemeDescriptionArgs

    SingletonPartitionSchemeDescriptionResponse, SingletonPartitionSchemeDescriptionResponseArgs

    UniformInt64RangePartitionSchemeDescription, UniformInt64RangePartitionSchemeDescriptionArgs

    Count int
    The number of partitions.
    HighKey string
    String indicating the upper bound of the partition key range that should be split between the partition ‘count’
    LowKey string
    String indicating the lower bound of the partition key range that should be split between the partition ‘count’
    Count int
    The number of partitions.
    HighKey string
    String indicating the upper bound of the partition key range that should be split between the partition ‘count’
    LowKey string
    String indicating the lower bound of the partition key range that should be split between the partition ‘count’
    count Integer
    The number of partitions.
    highKey String
    String indicating the upper bound of the partition key range that should be split between the partition ‘count’
    lowKey String
    String indicating the lower bound of the partition key range that should be split between the partition ‘count’
    count number
    The number of partitions.
    highKey string
    String indicating the upper bound of the partition key range that should be split between the partition ‘count’
    lowKey string
    String indicating the lower bound of the partition key range that should be split between the partition ‘count’
    count int
    The number of partitions.
    high_key str
    String indicating the upper bound of the partition key range that should be split between the partition ‘count’
    low_key str
    String indicating the lower bound of the partition key range that should be split between the partition ‘count’
    count Number
    The number of partitions.
    highKey String
    String indicating the upper bound of the partition key range that should be split between the partition ‘count’
    lowKey String
    String indicating the lower bound of the partition key range that should be split between the partition ‘count’

    UniformInt64RangePartitionSchemeDescriptionResponse, UniformInt64RangePartitionSchemeDescriptionResponseArgs

    Count int
    The number of partitions.
    HighKey string
    String indicating the upper bound of the partition key range that should be split between the partition ‘count’
    LowKey string
    String indicating the lower bound of the partition key range that should be split between the partition ‘count’
    Count int
    The number of partitions.
    HighKey string
    String indicating the upper bound of the partition key range that should be split between the partition ‘count’
    LowKey string
    String indicating the lower bound of the partition key range that should be split between the partition ‘count’
    count Integer
    The number of partitions.
    highKey String
    String indicating the upper bound of the partition key range that should be split between the partition ‘count’
    lowKey String
    String indicating the lower bound of the partition key range that should be split between the partition ‘count’
    count number
    The number of partitions.
    highKey string
    String indicating the upper bound of the partition key range that should be split between the partition ‘count’
    lowKey string
    String indicating the lower bound of the partition key range that should be split between the partition ‘count’
    count int
    The number of partitions.
    high_key str
    String indicating the upper bound of the partition key range that should be split between the partition ‘count’
    low_key str
    String indicating the lower bound of the partition key range that should be split between the partition ‘count’
    count Number
    The number of partitions.
    highKey String
    String indicating the upper bound of the partition key range that should be split between the partition ‘count’
    lowKey String
    String indicating the lower bound of the partition key range that should be split between the partition ‘count’

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:servicefabric:Service myCluster /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp/services/myService 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi