Class Service
Inherited Members
Namespace: Pulumi.Docker
Assembly: Pulumi.Docker.dll
Syntax
public class Service : CustomResource
Constructors
View SourceService(String, ServiceArgs, CustomResourceOptions)
Create a Service resource with the given unique name, arguments, and options.
Declaration
public Service(string name, ServiceArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ServiceArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAuth
See Auth below for details.
Declaration
public Output<ServiceAuth> Auth { get; }
Property Value
| Type | Description |
|---|---|
| Output<ServiceAuth> |
ConvergeConfig
See Converge Config below for details.
Declaration
public Output<ServiceConvergeConfig> ConvergeConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<ServiceConvergeConfig> |
EndpointSpec
See EndpointSpec below for details.
Declaration
public Output<ServiceEndpointSpec> EndpointSpec { get; }
Property Value
| Type | Description |
|---|---|
| Output<ServiceEndpointSpec> |
Labels
See Labels below for details.
Declaration
public Output<ImmutableArray<ServiceLabel>> Labels { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ServiceLabel>> |
Mode
See Mode below for details.
Declaration
public Output<ServiceMode> Mode { get; }
Property Value
| Type | Description |
|---|---|
| Output<ServiceMode> |
Name
The name of the Docker service.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RollbackConfig
See RollbackConfig below for details.
Declaration
public Output<ServiceRollbackConfig> RollbackConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<ServiceRollbackConfig> |
TaskSpec
See TaskSpec below for details.
Declaration
public Output<ServiceTaskSpec> TaskSpec { get; }
Property Value
| Type | Description |
|---|---|
| Output<ServiceTaskSpec> |
UpdateConfig
See UpdateConfig below for details.
Declaration
public Output<ServiceUpdateConfig> UpdateConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<ServiceUpdateConfig> |
Methods
View SourceGet(String, Input<String>, ServiceState, CustomResourceOptions)
Get an existing Service resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Service Get(string name, Input<string> id, ServiceState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ServiceState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Service |