Show / Hide Table of Contents

Class SecurityAttributeClient

Service client instance for SecurityAttribute.

Inheritance
object
ClientBase
RegionalClientBase
SecurityAttributeClient
Implements
IDisposable
Inherited Members
RegionalClientBase.logger
RegionalClientBase.SetRegion(Region)
RegionalClientBase.SetRegion(string)
RegionalClientBase.UseRealmSpecificEndpointTemplate(bool)
RegionalClientBase.PopulateServiceParametersInEndpointTemplate(RestClient, Dictionary<string, object>)
RegionalClientBase.parseEndpointForParameters(string)
ClientBase.restClient
ClientBase.service
ClientBase.userAgent
ClientBase.Dispose()
ClientBase.Dispose(bool)
ClientBase.SetEndpoint(string)
ClientBase.GetEndpoint()
ClientBase.GetUserAgent()
ClientBase.SetRealmSpecificEndpointTemplate(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.SecurityattributeService
Assembly: OCI.DotNetSDK.Securityattribute.dll
Syntax
public class SecurityAttributeClient : RegionalClientBase, IDisposable

Constructors

SecurityAttributeClient(IBasicAuthenticationDetailsProvider, ClientConfiguration, string)

Creates a new service instance using the given authentication provider and/or client configuration and/or endpoint. A client configuration can also be provided optionally to adjust REST client behaviors.

Declaration
public SecurityAttributeClient(IBasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration clientConfiguration = null, string endpoint = null)
Parameters
Type Name Description
IBasicAuthenticationDetailsProvider authenticationDetailsProvider

The authentication details provider. Required.

ClientConfiguration clientConfiguration

The client configuration that contains settings to adjust REST client behaviors. Optional.

string endpoint

The endpoint of the service. If not provided and the client is a regional client, the endpoint will be constructed based on region information. Optional.

Properties

Paginators

Declaration
public SecurityAttributePaginators Paginators { get; }
Property Value
Type Description
SecurityAttributePaginators

Waiters

Declaration
public SecurityAttributeWaiters Waiters { get; }
Property Value
Type Description
SecurityAttributeWaiters

Methods

BulkDeleteSecurityAttributes(BulkDeleteSecurityAttributesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes the specified security attribute definitions. This operation triggers a process that removes the security attributes from all resources in your tenancy. The security attributes must be within the same security attribute namespace.

The following actions happen immediately:

After you start this operation, the state of the tag changes to DELETING, and security attribute removal from resources begins. This process can take up to 48 hours depending on the number of resources that are tagged and the regions in which those resources reside.

When all security attributes have been removed, the state changes to DELETED. You cannot restore a deleted security attribute. After the security attribute state changes to DELETED, you can use the same security attribute name again.

After you start this operation, you cannot start either the {@link #deleteSecurityAttribute(DeleteSecurityAttributeRequest) deleteSecurityAttribute} or the {@link #cascadingDeleteSecurityAttributeNamespace(CascadingDeleteSecurityAttributeNamespaceRequest) cascadingDeleteSecurityAttributeNamespace} operation until this process completes.

In order to delete security attribute, you must first retire the security attribute. Use {@link #updateSecurityAttributeNamespace(UpdateSecurityAttributeNamespaceRequest) updateSecurityAttributeNamespace} to retire a security attribute.

Declaration
public Task<BulkDeleteSecurityAttributesResponse> BulkDeleteSecurityAttributes(BulkDeleteSecurityAttributesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
BulkDeleteSecurityAttributesRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<BulkDeleteSecurityAttributesResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use BulkDeleteSecurityAttributes API.

BulkEditSecurityAttributes(BulkEditSecurityAttributesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Edits the specified list of security attributes for the selected resources. This operation triggers a process that edits the attributes on all selected resources. The possible actions are: <br/>

  • Add a security attribute when it does not already exist on the resource.
  • Update the value for a security attribute when it is present on the resource.
  • Add a security attribute when it does not already exist on the resource or update the value when it is present on the resource.
  • Remove a security attribute from a resource. The security attribute is removed from the resource regardless of the value. <br/> The edits can include a combination of operations and attributes. However, multiple operations cannot apply to the same attribute in the same request.
Declaration
public Task<BulkEditSecurityAttributesResponse> BulkEditSecurityAttributes(BulkEditSecurityAttributesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
BulkEditSecurityAttributesRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<BulkEditSecurityAttributesResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use BulkEditSecurityAttributes API.

CascadingDeleteSecurityAttributeNamespace(CascadingDeleteSecurityAttributeNamespaceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes the specified security attribute namespace. This operation triggers a process that removes all of the security attributes defined in the specified security attribute namespace from all resources in your tenancy and then deletes the security attribute namespace. <br/> After you start the delete operation: <br/>

  • New security attribute key definitions cannot be created under the namespace.
  • The state of the security attribute namespace changes to DELETING.
  • Security attribute removal from the resources begins. <br/> This process can take up to 48 hours depending on the number of security attributes in the namespace, the number of resources that are tagged, and the locations of the regions in which those resources reside. <br/> After all security attributes are removed, the state changes to DELETED. You cannot restore a deleted security attribute namespace. After the deleted security attribute namespace changes its state to DELETED, you can use the name of the deleted security attribute namespace again. <br/> After you start this operation, you cannot start either the {@link #deleteSecurityAttribute(DeleteSecurityAttributeRequest) deleteSecurityAttribute} or the {@link #bulkDeleteSecurityAttributes(BulkDeleteSecurityAttributesRequest) bulkDeleteSecurityAttributes} operation until this process completes. <br/> To delete a security attribute namespace, you must first retire it. Use {@link #updateSecurityAttributeNamespace(UpdateSecurityAttributeNamespaceRequest) updateSecurityAttributeNamespace} to retire a security attribute namespace.
Declaration
public Task<CascadingDeleteSecurityAttributeNamespaceResponse> CascadingDeleteSecurityAttributeNamespace(CascadingDeleteSecurityAttributeNamespaceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CascadingDeleteSecurityAttributeNamespaceRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<CascadingDeleteSecurityAttributeNamespaceResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use CascadingDeleteSecurityAttributeNamespace API.

ChangeSecurityAttributeNamespaceCompartment(ChangeSecurityAttributeNamespaceCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Moves the specified security attribute namespace to the specified compartment within the same tenancy. <br/> To move the security attribute namespace, you must have the manage security-attributes permission on both compartments. For more information about IAM policies, see Details for IAM. <br/> Moving a security attribute namespace moves all the security attributes contained in the security attribute namespace.

Declaration
public Task<ChangeSecurityAttributeNamespaceCompartmentResponse> ChangeSecurityAttributeNamespaceCompartment(ChangeSecurityAttributeNamespaceCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ChangeSecurityAttributeNamespaceCompartmentRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ChangeSecurityAttributeNamespaceCompartmentResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ChangeSecurityAttributeNamespaceCompartment API.

CreateSecurityAttribute(CreateSecurityAttributeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Creates a new security attribute in the specified security attribute namespace. <br/> The security attribute requires either the OCID or the name of the security attribute namespace that will contain this security attribute. <br/> You must specify a name for the attribute, which must be unique across all attributes in the security attribute namespace and cannot be changed. The only valid characters for security attribute names are:\u00A00-9, A-Z, a-z, -, _ characters. Names are case insensitive. That means, for example, "mySecurityAttribute" and "mysecurityattribute" are not allowed in the same namespace. If you specify a name that's already in use in the security attribute namespace, a 409 error is returned. <br/> The security attribute must have a description. It does not have to be unique, and you can change it with {@link #updateSecurityAttribute(UpdateSecurityAttributeRequest) updateSecurityAttribute}. <br/> The security attribute must have a value type, which is specified with a validator. Security attribute can use either a static value or a list of possible values. Static values are entered by a user applying the security attribute to a resource. Lists are created by the user and the user must apply a value from the list. Lists are validated.

Declaration
public Task<CreateSecurityAttributeResponse> CreateSecurityAttribute(CreateSecurityAttributeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CreateSecurityAttributeRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<CreateSecurityAttributeResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use CreateSecurityAttribute API.

CreateSecurityAttributeNamespace(CreateSecurityAttributeNamespaceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Creates a new security attribute namespace in the specified compartment. <br/> You must specify the compartment ID in the request object (remember that the tenancy is simply the root compartment). <br/> You must also specify a name for the namespace, which must be unique across all namespaces in your tenancy and cannot be changed. The only valid characters for security attribute names are: \u00A00-9, A-Z, a-z, -, _ characters. Names are case insensitive. That means, for example, "myNamespace" and "mynamespace" are not allowed in the same tenancy. Once you created a namespace, you cannot change the name. If you specify a name that's already in use in the tenancy, a 409 error is returned. <br/> You must also specify a description for the namespace. It does not have to be unique, and you can change it with {@link #updateSecurityAttributeNamespace(UpdateSecurityAttributeNamespaceRequest) updateSecurityAttributeNamespace}.

Declaration
public Task<CreateSecurityAttributeNamespaceResponse> CreateSecurityAttributeNamespace(CreateSecurityAttributeNamespaceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CreateSecurityAttributeNamespaceRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<CreateSecurityAttributeNamespaceResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use CreateSecurityAttributeNamespace API.

DeleteSecurityAttribute(DeleteSecurityAttributeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes the specified security attribute. This operation triggers a process that removes the security attribute from all resources in your tenancy. <br/> When you start the delete operation, the state of the security attribute changes to DELETING and security attribute removal from resources begins. This can take up to 48 hours depending on the number of resources that were tagged as well as the regions in which those resources reside. <br/> When all attributes have been removed, the state changes to DELETED. You cannot restore a deleted attribute. Once the deleted attribute changes its state to DELETED, you can use the same security attribute name again. <br/> After you start this operation, you cannot start either the {@link #bulkDeleteSecurityAttributes(BulkDeleteSecurityAttributesRequest) bulkDeleteSecurityAttributes} or the {@link #cascadingDeleteSecurityAttributeNamespace(CascadingDeleteSecurityAttributeNamespaceRequest) cascadingDeleteSecurityAttributeNamespace} operation until this process completes. <br/> To delete a security attribute, you must first retire it. Use {@link #updateSecurityAttribute(UpdateSecurityAttributeRequest) updateSecurityAttribute} to retire a security attribute.

Declaration
public Task<DeleteSecurityAttributeResponse> DeleteSecurityAttribute(DeleteSecurityAttributeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DeleteSecurityAttributeRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<DeleteSecurityAttributeResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DeleteSecurityAttribute API.

DeleteSecurityAttributeNamespace(DeleteSecurityAttributeNamespaceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes the specified security attribute namespace. Only an empty security attribute namespace can be deleted with this operation. To use this operation to delete a security attribute namespace that contains security attributes, first delete all of its security attributes. Use {@link #deleteSecurityAttribute(DeleteSecurityAttributeRequest) deleteSecurityAttribute} to delete a security attribute.

Declaration
public Task<DeleteSecurityAttributeNamespaceResponse> DeleteSecurityAttributeNamespace(DeleteSecurityAttributeNamespaceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DeleteSecurityAttributeNamespaceRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<DeleteSecurityAttributeNamespaceResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DeleteSecurityAttributeNamespace API.

GetSecurityAttribute(GetSecurityAttributeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets the specified security attribute's information.

Declaration
public Task<GetSecurityAttributeResponse> GetSecurityAttribute(GetSecurityAttributeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetSecurityAttributeRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetSecurityAttributeResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetSecurityAttribute API.

GetSecurityAttributeNamespace(GetSecurityAttributeNamespaceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets the specified security attribute namespace's information.

Declaration
public Task<GetSecurityAttributeNamespaceResponse> GetSecurityAttributeNamespace(GetSecurityAttributeNamespaceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetSecurityAttributeNamespaceRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetSecurityAttributeNamespaceResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetSecurityAttributeNamespace API.

GetSecurityAttributeWorkRequest(GetSecurityAttributeWorkRequestRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets details on a specified work request. The workRequestID is returned in the opc-work-request-id header for any asynchronous operation in security attributes service.

Declaration
public Task<GetSecurityAttributeWorkRequestResponse> GetSecurityAttributeWorkRequest(GetSecurityAttributeWorkRequestRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetSecurityAttributeWorkRequestRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetSecurityAttributeWorkRequestResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetSecurityAttributeWorkRequest API.

ListSecurityAttributeNamespaces(ListSecurityAttributeNamespacesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Lists the security attribute namespaces in the specified compartment.

Declaration
public Task<ListSecurityAttributeNamespacesResponse> ListSecurityAttributeNamespaces(ListSecurityAttributeNamespacesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListSecurityAttributeNamespacesRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListSecurityAttributeNamespacesResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListSecurityAttributeNamespaces API.

ListSecurityAttributeWorkRequestErrors(ListSecurityAttributeWorkRequestErrorsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets the errors for a work request.

Declaration
public Task<ListSecurityAttributeWorkRequestErrorsResponse> ListSecurityAttributeWorkRequestErrors(ListSecurityAttributeWorkRequestErrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListSecurityAttributeWorkRequestErrorsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListSecurityAttributeWorkRequestErrorsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListSecurityAttributeWorkRequestErrors API.

ListSecurityAttributeWorkRequestLogs(ListSecurityAttributeWorkRequestLogsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets the logs for a work request.

Declaration
public Task<ListSecurityAttributeWorkRequestLogsResponse> ListSecurityAttributeWorkRequestLogs(ListSecurityAttributeWorkRequestLogsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListSecurityAttributeWorkRequestLogsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListSecurityAttributeWorkRequestLogsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListSecurityAttributeWorkRequestLogs API.

ListSecurityAttributeWorkRequests(ListSecurityAttributeWorkRequestsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Lists the security attribute work requests in compartment.

Declaration
public Task<ListSecurityAttributeWorkRequestsResponse> ListSecurityAttributeWorkRequests(ListSecurityAttributeWorkRequestsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListSecurityAttributeWorkRequestsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListSecurityAttributeWorkRequestsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListSecurityAttributeWorkRequests API.

ListSecurityAttributes(ListSecurityAttributesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Lists the security attributes in the specified namespace.

Declaration
public Task<ListSecurityAttributesResponse> ListSecurityAttributes(ListSecurityAttributesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListSecurityAttributesRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListSecurityAttributesResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListSecurityAttributes API.

UpdateSecurityAttribute(UpdateSecurityAttributeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Updates the specified security attribute. You can only update description, and isRetired.

Declaration
public Task<UpdateSecurityAttributeResponse> UpdateSecurityAttribute(UpdateSecurityAttributeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateSecurityAttributeRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<UpdateSecurityAttributeResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UpdateSecurityAttribute API.

UpdateSecurityAttributeNamespace(UpdateSecurityAttributeNamespaceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Updates the specified security attribute namespace. You can't update the namespace name. <br/> Updating isRetired to 'true' retires the namespace and all the security attributes in the namespace. Reactivating a namespace (changing isRetired from 'true' to 'false') does not reactivate security attributes. To reactivate the security attributes, you must reactivate each one individually after you reactivate the namespace, using {@link #updateSecurityAttribute(UpdateSecurityAttributeRequest) updateSecurityAttribute}. For more information about retiring security attribute namespaces, see Managing Security Attribute Namespaces. <br/> You can't add a namespace with the same name as a retired namespace in the same tenancy.

Declaration
public Task<UpdateSecurityAttributeNamespaceResponse> UpdateSecurityAttributeNamespace(UpdateSecurityAttributeNamespaceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateSecurityAttributeNamespaceRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<UpdateSecurityAttributeNamespaceResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UpdateSecurityAttributeNamespace API.

Implements

IDisposable
In this article
Back to top