Connectors Interface

public interface Connectors

Resource collection API of Connectors.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new ConnectorSetting resource.

abstract void delete(String connectorName)

Delete a cloud account connector from a subscription.

abstract void deleteById(String id)

Delete a cloud account connector from a subscription.

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Delete a cloud account connector from a subscription.

abstract Response<Void> deleteWithResponse(String connectorName, Context context)

Delete a cloud account connector from a subscription.

abstract ConnectorSetting get(String connectorName)

Details of a specific cloud account connector.

abstract ConnectorSetting getById(String id)

Details of a specific cloud account connector.

abstract Response<ConnectorSetting> getByIdWithResponse(String id, Context context)

Details of a specific cloud account connector.

abstract Response<ConnectorSetting> getWithResponse(String connectorName, Context context)

Details of a specific cloud account connector.

abstract PagedIterable<ConnectorSetting> list()

Cloud accounts connectors of a subscription.

abstract PagedIterable<ConnectorSetting> list(Context context)

Cloud accounts connectors of a subscription.

Method Details

define

public abstract ConnectorSetting.DefinitionStages.Blank define(String name)

Begins definition for a new ConnectorSetting resource.

Parameters:

name - resource name.

Returns:

the first stage of the new ConnectorSetting definition.

delete

public abstract void delete(String connectorName)

Delete a cloud account connector from a subscription.

Parameters:

connectorName - Name of the cloud account connector.

deleteById

public abstract void deleteById(String id)

Delete a cloud account connector from a subscription.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response deleteByIdWithResponse(String id, Context context)

Delete a cloud account connector from a subscription.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

deleteWithResponse

public abstract Response deleteWithResponse(String connectorName, Context context)

Delete a cloud account connector from a subscription.

Parameters:

connectorName - Name of the cloud account connector.
context - The context to associate with this operation.

Returns:

get

public abstract ConnectorSetting get(String connectorName)

Details of a specific cloud account connector.

Parameters:

connectorName - Name of the cloud account connector.

Returns:

the connector setting.

getById

public abstract ConnectorSetting getById(String id)

Details of a specific cloud account connector.

Parameters:

id - the resource ID.

Returns:

the connector setting along with Response<T>.

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

Details of a specific cloud account connector.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

the connector setting along with Response<T>.

getWithResponse

public abstract Response getWithResponse(String connectorName, Context context)

Details of a specific cloud account connector.

Parameters:

connectorName - Name of the cloud account connector.
context - The context to associate with this operation.

Returns:

the connector setting along with Response<T>.

list

public abstract PagedIterable list()

Cloud accounts connectors of a subscription.

Returns:

for a subscription, list of all cloud account connectors and their settings as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Cloud accounts connectors of a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

for a subscription, list of all cloud account connectors and their settings as paginated response with PagedIterable<T>.

Applies to