azure-native.servicefabric.Service
Explore with Pulumi AI
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:
- Application
Name string - The name of the application resource.
- Cluster
Name string - The name of the cluster resource.
- Resource
Group stringName - The name of the resource group.
- Service
Kind string | Pulumi.Azure Native. Service Fabric. Service Kind - The kind of service (Stateless or Stateful).
- Correlation
Scheme List<Pulumi.Azure Native. Service Fabric. Inputs. Service Correlation Description> - A list that describes the correlation of the service with other services.
- Default
Move string | Pulumi.Cost Azure Native. Service Fabric. Move Cost - Specifies the move cost for the service.
- Location string
- It will be deprecated in New API, resource location depends on the parent resource.
- Partition
Description Pulumi.Azure | Pulumi.Native. Service Fabric. Inputs. Named Partition Scheme Description Azure | Pulumi.Native. Service Fabric. Inputs. Singleton Partition Scheme Description Azure Native. Service Fabric. Inputs. Uniform Int64Range Partition Scheme Description - Describes how the service is partitioned.
- Placement
Constraints 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)".
- Service
Dns stringName - 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 List<Pulumi.Metrics Azure Native. Service Fabric. Inputs. Service Load Metric Description> - The service load metrics is given as an array of ServiceLoadMetricDescription objects.
- Service
Name string - The name of the service resource in the format of {applicationName}~{serviceName}.
- Service
Package string | Pulumi.Activation Mode Azure Native. Service Fabric. Arm Service Package Activation Mode - The activation Mode of the service package
- Service
Placement List<Pulumi.Policies Azure Native. Service Fabric. Inputs. Service Placement Policy Description> - A list that describes the correlation of the service with other services.
- Service
Type stringName - The name of the service type
- Dictionary<string, string>
- Azure resource tags.
- Application
Name string - The name of the application resource.
- Cluster
Name string - The name of the cluster resource.
- Resource
Group stringName - The name of the resource group.
- Service
Kind string | ServiceKind - The kind of service (Stateless or Stateful).
- Correlation
Scheme []ServiceCorrelation Description Args - A list that describes the correlation of the service with other services.
- Default
Move string | MoveCost Cost - Specifies the move cost for the service.
- Location string
- It will be deprecated in New API, resource location depends on the parent resource.
- Partition
Description NamedPartition | SingletonScheme Description Args Partition | UniformScheme Description Args Int64Range Partition Scheme Description Args - Describes how the service is partitioned.
- Placement
Constraints 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)".
- Service
Dns stringName - 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 []ServiceMetrics Load Metric Description Args - The service load metrics is given as an array of ServiceLoadMetricDescription objects.
- Service
Name string - The name of the service resource in the format of {applicationName}~{serviceName}.
- Service
Package string | ArmActivation Mode Service Package Activation Mode - The activation Mode of the service package
- Service
Placement []ServicePolicies Placement Policy Description Args - A list that describes the correlation of the service with other services.
- Service
Type stringName - The name of the service type
- map[string]string
- Azure resource tags.
- application
Name String - The name of the application resource.
- cluster
Name String - The name of the cluster resource.
- resource
Group StringName - The name of the resource group.
- service
Kind String | ServiceKind - The kind of service (Stateless or Stateful).
- correlation
Scheme List<ServiceCorrelation Description> - A list that describes the correlation of the service with other services.
- default
Move String | MoveCost Cost - Specifies the move cost for the service.
- location String
- It will be deprecated in New API, resource location depends on the parent resource.
- partition
Description NamedPartition | SingletonScheme Description Partition | UniformScheme Description Int64Range Partition Scheme Description - Describes how the service is partitioned.
- placement
Constraints 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)".
- service
Dns StringName - 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 List<ServiceMetrics Load Metric Description> - The service load metrics is given as an array of ServiceLoadMetricDescription objects.
- service
Name String - The name of the service resource in the format of {applicationName}~{serviceName}.
- service
Package String | ArmActivation Mode Service Package Activation Mode - The activation Mode of the service package
- service
Placement List<ServicePolicies Placement Policy Description> - A list that describes the correlation of the service with other services.
- service
Type StringName - The name of the service type
- Map<String,String>
- Azure resource tags.
- application
Name string - The name of the application resource.
- cluster
Name string - The name of the cluster resource.
- resource
Group stringName - The name of the resource group.
- service
Kind string | ServiceKind - The kind of service (Stateless or Stateful).
- correlation
Scheme ServiceCorrelation Description[] - A list that describes the correlation of the service with other services.
- default
Move string | MoveCost Cost - Specifies the move cost for the service.
- location string
- It will be deprecated in New API, resource location depends on the parent resource.
- partition
Description NamedPartition | SingletonScheme Description Partition | UniformScheme Description Int64Range Partition Scheme Description - Describes how the service is partitioned.
- placement
Constraints 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)".
- service
Dns stringName - 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 ServiceMetrics Load Metric Description[] - The service load metrics is given as an array of ServiceLoadMetricDescription objects.
- service
Name string - The name of the service resource in the format of {applicationName}~{serviceName}.
- service
Package string | ArmActivation Mode Service Package Activation Mode - The activation Mode of the service package
- service
Placement ServicePolicies Placement Policy Description[] - A list that describes the correlation of the service with other services.
- service
Type stringName - The name of the service type
- {[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_ strname - The name of the resource group.
- service_
kind str | ServiceKind - The kind of service (Stateless or Stateful).
- correlation_
scheme Sequence[ServiceCorrelation Description Args] - A list that describes the correlation of the service with other services.
- default_
move_ str | Movecost Cost - 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 NamedPartition | SingletonScheme Description Args Partition | UniformScheme Description Args Int64Range Partition Scheme Description Args - 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_ strname - 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_ Sequence[Servicemetrics Load Metric Description Args] - 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_ str | Armactivation_ mode Service Package Activation Mode - The activation Mode of the service package
- service_
placement_ Sequence[Servicepolicies Placement Policy Description Args] - A list that describes the correlation of the service with other services.
- service_
type_ strname - The name of the service type
- Mapping[str, str]
- Azure resource tags.
- application
Name String - The name of the application resource.
- cluster
Name String - The name of the cluster resource.
- resource
Group StringName - The name of the resource group.
- service
Kind String | "Invalid" | "Stateless" | "Stateful" - The kind of service (Stateless or Stateful).
- correlation
Scheme List<Property Map> - A list that describes the correlation of the service with other services.
- default
Move String | "Zero" | "Low" | "Medium" | "High"Cost - Specifies the move cost for the service.
- location String
- It will be deprecated in New API, resource location depends on the parent resource.
- partition
Description Property Map | Property Map | Property Map - Describes how the service is partitioned.
- placement
Constraints 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)".
- service
Dns StringName - 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 List<Property Map>Metrics - The service load metrics is given as an array of ServiceLoadMetricDescription objects.
- service
Name String - The name of the service resource in the format of {applicationName}~{serviceName}.
- service
Package String | "SharedActivation Mode Process" | "Exclusive Process" - The activation Mode of the service package
- service
Placement List<Property Map>Policies - A list that describes the correlation of the service with other services.
- service
Type StringName - The name of the service type
- 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.
- Provisioning
State 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.
- Provisioning
State 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.
- provisioning
State 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.
- provisioning
State 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.
- provisioning
State String - The current deployment or provisioning state, which only appears in the response
- type String
- Azure resource type.
Supporting Types
ArmServicePackageActivationMode, ArmServicePackageActivationModeArgs
- Shared
Process - SharedProcessIndicates the application package activation mode will use shared process.
- Exclusive
Process - ExclusiveProcessIndicates the application package activation mode will use exclusive process.
- Arm
Service Package Activation Mode Shared Process - SharedProcessIndicates the application package activation mode will use shared process.
- Arm
Service Package Activation Mode Exclusive Process - 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.
- Shared
Process - SharedProcessIndicates the application package activation mode will use shared process.
- Exclusive
Process - 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.
- "Shared
Process" - SharedProcessIndicates the application package activation mode will use shared process.
- "Exclusive
Process" - 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.
- Move
Cost Zero - ZeroZero move cost. This value is zero.
- Move
Cost Low - LowSpecifies the move cost of the service as Low. The value is 1.
- Move
Cost Medium - MediumSpecifies the move cost of the service as Medium. The value is 2.
- Move
Cost 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.
- "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
NamedPartitionSchemeDescriptionResponse, NamedPartitionSchemeDescriptionResponseArgs
ServiceCorrelationDescription, ServiceCorrelationDescriptionArgs
- Scheme
string | Pulumi.
Azure Native. Service Fabric. Service Correlation Scheme - The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
- Service
Name string - The name of the service that the correlation relationship is established with.
- Scheme
string | Service
Correlation Scheme - The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
- Service
Name string - The name of the service that the correlation relationship is established with.
- scheme
String | Service
Correlation Scheme - The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
- service
Name String - The name of the service that the correlation relationship is established with.
- scheme
string | Service
Correlation Scheme - The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
- service
Name string - The name of the service that the correlation relationship is established with.
- scheme
str | Service
Correlation Scheme - 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" | "Aligned
Affinity" | "Non Aligned Affinity" - The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
- service
Name 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.
- Service
Name 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.
- Service
Name 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.
- service
Name 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.
- service
Name 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.
- service
Name 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.
- 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.
- Service
Correlation Scheme Invalid - InvalidAn invalid correlation scheme. Cannot be used. The value is zero.
- Service
Correlation Scheme 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.
- Service
Correlation Scheme 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.
- Service
Correlation Scheme 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.
- 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.
- 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.
- 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.
- "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.
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.
- Service
Kind Invalid - InvalidIndicates the service kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
- Service
Kind Stateless - StatelessDoes not use Service Fabric to make its state highly available or reliable. The value is 1.
- Service
Kind 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.
- "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.
- 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 intLoad - 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 intLoad - 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.
Azure Native. Service Fabric. Service Load Metric Weight - 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.
- 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 intLoad - 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 intLoad - 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 | Service
Load Metric Weight - 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.
- default
Load Integer - Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
- primary
Default IntegerLoad - 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 IntegerLoad - 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 | Service
Load Metric Weight - 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.
- default
Load number - Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
- primary
Default numberLoad - 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 numberLoad - 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 | Service
Load Metric Weight - 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_ intload - 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_ intload - 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 | Service
Load Metric Weight - 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.
- default
Load Number - Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
- primary
Default NumberLoad - 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 NumberLoad - 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.
- 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 intLoad - 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 intLoad - 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.
- 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 intLoad - 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 intLoad - 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.
- default
Load Integer - Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
- primary
Default IntegerLoad - 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 IntegerLoad - 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.
- default
Load number - Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
- primary
Default numberLoad - 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 numberLoad - 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_ intload - 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_ intload - 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.
- default
Load Number - Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
- primary
Default NumberLoad - 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 NumberLoad - 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.
- Service
Load Metric Weight Zero - ZeroDisables resource balancing for this metric. This value is zero.
- Service
Load Metric Weight Low - LowSpecifies the metric weight of the service load as Low. The value is 1.
- Service
Load Metric Weight Medium - MediumSpecifies the metric weight of the service load as Medium. The value is 2.
- Service
Load Metric Weight 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.
- "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.
Azure Native. Service Fabric. Service Placement Policy Type - The type of placement policy for a service fabric service. Following are the possible values.
- Type
string | Service
Placement Policy Type - The type of placement policy for a service fabric service. Following are the possible values.
- type
String | Service
Placement Policy Type - The type of placement policy for a service fabric service. Following are the possible values.
- type
string | Service
Placement Policy Type - The type of placement policy for a service fabric service. Following are the possible values.
- type
str | Service
Placement Policy Type - The type of placement policy for a service fabric service. Following are the possible values.
- type
String | "Invalid" | "Invalid
Domain" | "Required Domain" | "Preferred Primary Domain" | "Required Domain Distribution" | "Non Partially Place Service" - 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.
- 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.
- Service
Placement Policy Type Invalid - InvalidIndicates the type of the placement policy is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
- Service
Placement Policy Type 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.
- Service
Placement Policy Type 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.
- Service
Placement Policy Type 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.
- Service
Placement Policy Type 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.
- Service
Placement Policy Type 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.
- 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.
- 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.
- 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.
- "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.
SingletonPartitionSchemeDescription, SingletonPartitionSchemeDescriptionArgs
SingletonPartitionSchemeDescriptionResponse, SingletonPartitionSchemeDescriptionResponseArgs
UniformInt64RangePartitionSchemeDescription, UniformInt64RangePartitionSchemeDescriptionArgs
UniformInt64RangePartitionSchemeDescriptionResponse, UniformInt64RangePartitionSchemeDescriptionResponseArgs
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