public class AuthnProviders extends AbstractCoreResources<AuthnProviderRestRep> implements TopLevelResources<AuthnProviderRestRep>
Base URL: /vdc/admin/authnproviders
AuthnProviderRestRep
Constructor and Description |
---|
AuthnProviders(ViPRCoreClient parent,
RestClient client) |
Modifier and Type | Method and Description |
---|---|
AuthnProviderRestRep |
create(AuthnCreateParam input)
Creates an authentication provider.
|
void |
delete(java.net.URI id)
Deletes an authentication provider.
|
AuthnProviderRestRep |
forceUpdate(java.net.URI id,
AuthnUpdateParam input)
Updates an authentication provider with allow_group_attr_change set to true.
|
java.util.List<AuthnProviderRestRep> |
getAll()
Gets all resources for this resource type.
|
java.util.List<AuthnProviderRestRep> |
getAll(ResourceFilter<AuthnProviderRestRep> filter)
Gets all resources for this resource type.
|
java.util.List<NamedRelatedResourceRep> |
list()
Lists all authentication providers.
|
AuthnProviderRestRep |
update(java.net.URI id,
AuthnUpdateParam input)
Updates an authentication provider.
|
AuthnProviders |
withInactive(boolean inactive)
Configures the fetch operations to include inactive resources.
|
AuthnProviders |
withInternal(boolean internal)
Configures the fetch operations to include internal resources.
|
addTags, get, get, getByIds, getByIds, getByRefs, getByRefs, getTags, performSearch, performSearchBy, removeTags, search, updateTags
public AuthnProviders(ViPRCoreClient parent, RestClient client)
public AuthnProviders withInactive(boolean inactive)
AbstractResources
withInactive
in class AbstractResources<AuthnProviderRestRep>
inactive
- whether to include inactive resources.public AuthnProviders withInternal(boolean internal)
AbstractResources
withInternal
in class AbstractResources<AuthnProviderRestRep>
internal
- whether to include internal resources.public java.util.List<NamedRelatedResourceRep> list()
API Call: GET /vdc/admin/authnproviders
list
in interface TopLevelResources<AuthnProviderRestRep>
public java.util.List<AuthnProviderRestRep> getAll()
TopLevelResources
Gets all resources for this resource type. This is combination of the list() call combined with a bulk query to retrieve the resources.
API Call: GET /RESOURCE_PATH
getAll
in interface TopLevelResources<AuthnProviderRestRep>
TopLevelResources.list()
,
Resources.getByRefs(java.util.Collection)
public java.util.List<AuthnProviderRestRep> getAll(ResourceFilter<AuthnProviderRestRep> filter)
TopLevelResources
Gets all resources for this resource type. This is combination of the list() call combined with a bulk query to retrieve the resources. This optionally filters the results by the filter specified.
API Call: GET /RESOURCE_PATH
getAll
in interface TopLevelResources<AuthnProviderRestRep>
filter
- the resource filter to apply to the results as they are returned (optional).TopLevelResources.list()
,
Resources.getByRefs(java.util.Collection, ResourceFilter)
public AuthnProviderRestRep create(AuthnCreateParam input)
API Call: POST /vdc/admin/authnproviders
input
- the create configuration.public AuthnProviderRestRep update(java.net.URI id, AuthnUpdateParam input)
API Call: PUT /vdc/admin/authnproviders/{id}
id
- the authentication provider ID.input
- the update configuration.public AuthnProviderRestRep forceUpdate(java.net.URI id, AuthnUpdateParam input)
API Call: PUT /vdc/admin/authnproviders/{id}?allow_group_attr_change=true
id
- the authentication provider ID.input
- the update configuration.public void delete(java.net.URI id)
API Call: DELETE /vdc/admin/authnproviders/{id}
id
- the authentication provider ID.