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.getService
Explore with Pulumi AI
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
Get a Service Fabric service resource created or in the process of being created in the Service Fabric application resource. API Version: 2020-03-01.
Using getService
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>
def get_service(application_name: Optional[str] = None,
cluster_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(application_name: Optional[pulumi.Input[str]] = None,
cluster_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]
func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput
> Note: This function is named LookupService
in the Go SDK.
public static class GetService
{
public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:servicefabric:getService
arguments:
# arguments dictionary
The following arguments are supported:
- 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
Name string - The name of the service resource in the format of {applicationName}~{serviceName}.
- 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
Name string - The name of the service resource in the format of {applicationName}~{serviceName}.
- 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
Name String - The name of the service resource in the format of {applicationName}~{serviceName}.
- 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
Name string - The name of the service resource in the format of {applicationName}~{serviceName}.
- 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_
name str - The name of the service resource in the format of {applicationName}~{serviceName}.
- 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
Name String - The name of the service resource in the format of {applicationName}~{serviceName}.
getService Result
The following output properties are available:
- Etag string
- Azure resource etag.
- Id string
- Azure resource identifier.
- Name string
- Azure resource name.
- Provisioning
State string - The current deployment or provisioning state, which only appears in the response
- Service
Kind string - The kind of service (Stateless or Stateful).
- Type string
- Azure resource type.
- Correlation
Scheme List<Pulumi.Azure Native. Service Fabric. Outputs. Service Correlation Description Response> - A list that describes the correlation of the service with other services.
- Default
Move stringCost - 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. Outputs. Named Partition Scheme Description Response Azure | Pulumi.Native. Service Fabric. Outputs. Singleton Partition Scheme Description Response Azure Native. Service Fabric. Outputs. Uniform Int64Range Partition Scheme Description Response - 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. Outputs. Service Load Metric Description Response> - The service load metrics is given as an array of ServiceLoadMetricDescription objects.
- Service
Package stringActivation Mode - The activation Mode of the service package
- Service
Placement List<Pulumi.Policies Azure Native. Service Fabric. Outputs. Service Placement Policy Description Response> - 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.
- Etag string
- Azure resource etag.
- Id string
- Azure resource identifier.
- Name string
- Azure resource name.
- Provisioning
State string - The current deployment or provisioning state, which only appears in the response
- Service
Kind string - The kind of service (Stateless or Stateful).
- Type string
- Azure resource type.
- Correlation
Scheme []ServiceCorrelation Description Response - A list that describes the correlation of the service with other services.
- Default
Move stringCost - 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 Response Partition | UniformScheme Description Response Int64Range Partition Scheme Description Response - 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 Response - The service load metrics is given as an array of ServiceLoadMetricDescription objects.
- Service
Package stringActivation Mode - The activation Mode of the service package
- Service
Placement []ServicePolicies Placement Policy Description Response - 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.
- etag String
- Azure resource etag.
- id String
- Azure resource identifier.
- name String
- Azure resource name.
- provisioning
State String - The current deployment or provisioning state, which only appears in the response
- service
Kind String - The kind of service (Stateless or Stateful).
- type String
- Azure resource type.
- correlation
Scheme List<ServiceCorrelation Description Response> - A list that describes the correlation of the service with other services.
- default
Move StringCost - 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 Response Partition | UniformScheme Description Response Int64Range Partition Scheme Description Response - 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 Response> - The service load metrics is given as an array of ServiceLoadMetricDescription objects.
- service
Package StringActivation Mode - The activation Mode of the service package
- service
Placement List<ServicePolicies Placement Policy Description Response> - 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.
- etag string
- Azure resource etag.
- id string
- Azure resource identifier.
- name string
- Azure resource name.
- provisioning
State string - The current deployment or provisioning state, which only appears in the response
- service
Kind string - The kind of service (Stateless or Stateful).
- type string
- Azure resource type.
- correlation
Scheme ServiceCorrelation Description Response[] - A list that describes the correlation of the service with other services.
- default
Move stringCost - 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 Response Partition | UniformScheme Description Response Int64Range Partition Scheme Description Response - 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 Response[] - The service load metrics is given as an array of ServiceLoadMetricDescription objects.
- service
Package stringActivation Mode - The activation Mode of the service package
- service
Placement ServicePolicies Placement Policy Description Response[] - 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.
- etag str
- Azure resource etag.
- id str
- Azure resource identifier.
- name str
- Azure resource name.
- provisioning_
state str - The current deployment or provisioning state, which only appears in the response
- service_
kind str - The kind of service (Stateless or Stateful).
- type str
- Azure resource type.
- correlation_
scheme Sequence[ServiceCorrelation Description Response] - A list that describes the correlation of the service with other services.
- default_
move_ strcost - 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 Response Partition | UniformScheme Description Response Int64Range Partition Scheme Description Response - 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 Response] - The service load metrics is given as an array of ServiceLoadMetricDescription objects.
- service_
package_ stractivation_ mode - The activation Mode of the service package
- service_
placement_ Sequence[Servicepolicies Placement Policy Description Response] - 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.
- etag String
- Azure resource etag.
- id String
- Azure resource identifier.
- name String
- Azure resource name.
- provisioning
State String - The current deployment or provisioning state, which only appears in the response
- service
Kind String - The kind of service (Stateless or Stateful).
- type String
- Azure resource type.
- correlation
Scheme List<Property Map> - A list that describes the correlation of the service with other services.
- default
Move StringCost - 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
Package StringActivation Mode - 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.
Supporting Types
NamedPartitionSchemeDescriptionResponse
ServiceCorrelationDescriptionResponse
- 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.
ServiceLoadMetricDescriptionResponse
- 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.
ServicePlacementPolicyDescriptionResponse
- 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.
SingletonPartitionSchemeDescriptionResponse
UniformInt64RangePartitionSchemeDescriptionResponse
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
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