Show / Hide Table of Contents

Class Service

Inheritance
System.Object
Resource
CustomResource
Service
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Docker
Assembly: Pulumi.Docker.dll
Syntax
public class Service : CustomResource

Constructors

View Source

Service(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 Source

Auth

See Auth below for details.

Declaration
public Output<ServiceAuth> Auth { get; }
Property Value
Type Description
Output<ServiceAuth>
View Source

ConvergeConfig

See Converge Config below for details.

Declaration
public Output<ServiceConvergeConfig> ConvergeConfig { get; }
Property Value
Type Description
Output<ServiceConvergeConfig>
View Source

EndpointSpec

See EndpointSpec below for details.

Declaration
public Output<ServiceEndpointSpec> EndpointSpec { get; }
Property Value
Type Description
Output<ServiceEndpointSpec>
View Source

Labels

See Labels below for details.

Declaration
public Output<ImmutableArray<ServiceLabel>> Labels { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<ServiceLabel>>
View Source

Mode

See Mode below for details.

Declaration
public Output<ServiceMode> Mode { get; }
Property Value
Type Description
Output<ServiceMode>
View Source

Name

The name of the Docker service.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

RollbackConfig

See RollbackConfig below for details.

Declaration
public Output<ServiceRollbackConfig> RollbackConfig { get; }
Property Value
Type Description
Output<ServiceRollbackConfig>
View Source

TaskSpec

See TaskSpec below for details.

Declaration
public Output<ServiceTaskSpec> TaskSpec { get; }
Property Value
Type Description
Output<ServiceTaskSpec>
View Source

UpdateConfig

See UpdateConfig below for details.

Declaration
public Output<ServiceUpdateConfig> UpdateConfig { get; }
Property Value
Type Description
Output<ServiceUpdateConfig>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.