SamlIdentityProvider commands

createSamlIdentityProvider

Create a new SAML Identity Provider

Arguments

Argument Name Type Description

samlIdentityProviderName

String

The name of the SAML Identity Provider (Required)

colorCode

String

Color code to be associate with the IDP

description

String

Comment text describing this object that is not interpreted at all by CloudBees Flow.

enabled

Boolean

If true, enables SAML Identity Provider

label

String

Label used by UI to display the text (e.g. label for UI button)

metadata

String

The metadata of the SAML identity provider

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.createSamlIdentityProvider(
                samlIdentityProviderName: 'test-samlIdentityProviderName'
                /* optional arguments */)

deleteSamlIdentityProvider

Deletes a SAML Identity Provider

Arguments

Argument Name Type Description

samlIdentityProviderName

String

The name of the SAML Identity Provider (Required)

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.deleteSamlIdentityProvider(
                samlIdentityProviderName: 'test-samlIdentityProviderName')

getSamlIdentityProvider

Retrieve a SAML Identity Provider by name

Arguments

Argument Name Type Description

samlIdentityProviderName

String

The name of the SAML Identity Provider (Required)

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.getSamlIdentityProvider(
                samlIdentityProviderName: 'test-samlIdentityProviderName')

getSamlIdentityProviders

Retrieve all SAML Identity Providers

Arguments

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.getSamlIdentityProviders()

modifySamlIdentityProvider

Modify an existing SAML Identity Provider

Arguments

Argument Name Type Description

samlIdentityProviderName

String

The name of the SAML Identity Provider (Required)

colorCode

String

Color code to be associate with the IDP

description

String

Comment text describing this object that is not interpreted at all by CloudBees Flow.

enabled

Boolean

If true, enables SAML Identity Provider

label

String

Label used by UI to display the text (e.g. label for UI button)

metadata

String

The metadata of the SAML identity provider

newName

String

New name for an existing object that is being renamed.

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.modifySamlIdentityProvider(
                samlIdentityProviderName: 'test-samlIdentityProviderName'
                /* optional arguments */)