Table of Contents

Class CloudFoundryCreateServiceSettingsExtensions

Namespace
Nuke.Common.Tools.CloudFoundry
Assembly
Nuke.Common.dll

Used within CloudFoundryTasks.

public static class CloudFoundryCreateServiceSettingsExtensions
Inheritance
CloudFoundryCreateServiceSettingsExtensions
Inherited Members

Methods

AddTags<T>(T, IEnumerable<string>)

Adds values to Tags

User provided tags

public static T AddTags<T>(this T toolSettings, IEnumerable<string> tags) where T : CloudFoundryCreateServiceSettings

Parameters

toolSettings T
tags IEnumerable<string>

Returns

T

Type Parameters

T

AddTags<T>(T, params string[])

Adds values to Tags

User provided tags

public static T AddTags<T>(this T toolSettings, params string[] tags) where T : CloudFoundryCreateServiceSettings

Parameters

toolSettings T
tags string[]

Returns

T

Type Parameters

T

ClearTags<T>(T)

Clears Tags

User provided tags

public static T ClearTags<T>(this T toolSettings) where T : CloudFoundryCreateServiceSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

RemoveTags<T>(T, IEnumerable<string>)

Removes values from Tags

User provided tags

public static T RemoveTags<T>(this T toolSettings, IEnumerable<string> tags) where T : CloudFoundryCreateServiceSettings

Parameters

toolSettings T
tags IEnumerable<string>

Returns

T

Type Parameters

T

RemoveTags<T>(T, params string[])

Removes values from Tags

User provided tags

public static T RemoveTags<T>(this T toolSettings, params string[] tags) where T : CloudFoundryCreateServiceSettings

Parameters

toolSettings T
tags string[]

Returns

T

Type Parameters

T

ResetConfigurationParameters<T>(T)

Resets ConfigurationParameters

Valid JSON object containing service-specific configuration parameters, provided either in-line or in a file

public static T ResetConfigurationParameters<T>(this T toolSettings) where T : CloudFoundryCreateServiceSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

ResetInstanceName<T>(T)

Resets InstanceName

Instance name

public static T ResetInstanceName<T>(this T toolSettings) where T : CloudFoundryCreateServiceSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

ResetPlan<T>(T)

Resets Plan

Service plan

public static T ResetPlan<T>(this T toolSettings) where T : CloudFoundryCreateServiceSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

ResetService<T>(T)

Resets Service

Service type

public static T ResetService<T>(this T toolSettings) where T : CloudFoundryCreateServiceSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

SetConfigurationParameters<T>(T, string)

Sets ConfigurationParameters

Valid JSON object containing service-specific configuration parameters, provided either in-line or in a file

public static T SetConfigurationParameters<T>(this T toolSettings, string configurationParameters) where T : CloudFoundryCreateServiceSettings

Parameters

toolSettings T
configurationParameters string

Returns

T

Type Parameters

T

SetInstanceName<T>(T, string)

Sets InstanceName

Instance name

public static T SetInstanceName<T>(this T toolSettings, string instanceName) where T : CloudFoundryCreateServiceSettings

Parameters

toolSettings T
instanceName string

Returns

T

Type Parameters

T

SetPlan<T>(T, string)

Sets Plan

Service plan

public static T SetPlan<T>(this T toolSettings, string plan) where T : CloudFoundryCreateServiceSettings

Parameters

toolSettings T
plan string

Returns

T

Type Parameters

T

SetService<T>(T, string)

Sets Service

Service type

public static T SetService<T>(this T toolSettings, string service) where T : CloudFoundryCreateServiceSettings

Parameters

toolSettings T
service string

Returns

T

Type Parameters

T

SetTags<T>(T, IEnumerable<string>)

Sets Tags to a new list

User provided tags

public static T SetTags<T>(this T toolSettings, IEnumerable<string> tags) where T : CloudFoundryCreateServiceSettings

Parameters

toolSettings T
tags IEnumerable<string>

Returns

T

Type Parameters

T

SetTags<T>(T, params string[])

Sets Tags to a new list

User provided tags

public static T SetTags<T>(this T toolSettings, params string[] tags) where T : CloudFoundryCreateServiceSettings

Parameters

toolSettings T
tags string[]

Returns

T

Type Parameters

T