İngilizce dilinde oku

Aracılığıyla paylaş


DevOpsPolicyAssignmentsClient Interface

public interface DevOpsPolicyAssignmentsClient

An instance of this class provides access to all the operations defined in DevOpsPolicyAssignmentsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<DevOpsPolicyAssignmentInner>,DevOpsPolicyAssignmentInner> beginCreateOrUpdate(String resourceGroupName, String securityConnectorName, String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment)

Creates or updates a DevOps Policy Assignment Resource.

abstract SyncPoller<PollResult<DevOpsPolicyAssignmentInner>,DevOpsPolicyAssignmentInner> beginCreateOrUpdate(String resourceGroupName, String securityConnectorName, String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment, Context context)

Creates or updates a DevOps Policy Assignment Resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String securityConnectorName, String policyAssignmentId)

Deletes a DevOps Policy Assignment Resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String securityConnectorName, String policyAssignmentId, Context context)

Deletes a DevOps Policy Assignment Resource.

abstract SyncPoller<PollResult<DevOpsPolicyAssignmentInner>,DevOpsPolicyAssignmentInner> beginUpdate(String resourceGroupName, String securityConnectorName, String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment)

Updates a DevOps Policy Assignment Resource.

abstract SyncPoller<PollResult<DevOpsPolicyAssignmentInner>,DevOpsPolicyAssignmentInner> beginUpdate(String resourceGroupName, String securityConnectorName, String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment, Context context)

Updates a DevOps Policy Assignment Resource.

abstract DevOpsPolicyAssignmentInner createOrUpdate(String resourceGroupName, String securityConnectorName, String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment)

Creates or updates a DevOps Policy Assignment Resource.

abstract DevOpsPolicyAssignmentInner createOrUpdate(String resourceGroupName, String securityConnectorName, String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment, Context context)

Creates or updates a DevOps Policy Assignment Resource.

abstract void delete(String resourceGroupName, String securityConnectorName, String policyAssignmentId)

Deletes a DevOps Policy Assignment Resource.

abstract void delete(String resourceGroupName, String securityConnectorName, String policyAssignmentId, Context context)

Deletes a DevOps Policy Assignment Resource.

abstract DevOpsPolicyAssignmentInner get(String resourceGroupName, String securityConnectorName, String policyAssignmentId)

Returns a DevOps Policy Assignment Resource.

abstract Response<DevOpsPolicyAssignmentInner> getWithResponse(String resourceGroupName, String securityConnectorName, String policyAssignmentId, Context context)

Returns a DevOps Policy Assignment Resource.

abstract PagedIterable<DevOpsPolicyAssignmentInner> list(String resourceGroupName, String securityConnectorName)

Returns a list of DevOps Policy Assignments.

abstract PagedIterable<DevOpsPolicyAssignmentInner> list(String resourceGroupName, String securityConnectorName, String devOpsPolicyType, String resourceId, Context context)

Returns a list of DevOps Policy Assignments.

abstract DevOpsPolicyAssignmentInner update(String resourceGroupName, String securityConnectorName, String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment)

Updates a DevOps Policy Assignment Resource.

abstract DevOpsPolicyAssignmentInner update(String resourceGroupName, String securityConnectorName, String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment, Context context)

Updates a DevOps Policy Assignment Resource.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,DevOpsPolicyAssignmentInner> beginCreateOrUpdate(String resourceGroupName, String securityConnectorName, String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment)

Creates or updates a DevOps Policy Assignment Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
policyAssignmentId - The policy assignment Id.
devOpsPolicyAssignment - The DevOps Policy Assignment.

Returns:

the SyncPoller<T,U> for polling of devOps Policy assignment resource.

beginCreateOrUpdate

public abstract SyncPoller,DevOpsPolicyAssignmentInner> beginCreateOrUpdate(String resourceGroupName, String securityConnectorName, String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment, Context context)

Creates or updates a DevOps Policy Assignment Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
policyAssignmentId - The policy assignment Id.
devOpsPolicyAssignment - The DevOps Policy Assignment.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of devOps Policy assignment resource.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String securityConnectorName, String policyAssignmentId)

Deletes a DevOps Policy Assignment Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
policyAssignmentId - The policy assignment Id.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String securityConnectorName, String policyAssignmentId, Context context)

Deletes a DevOps Policy Assignment Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
policyAssignmentId - The policy assignment Id.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,DevOpsPolicyAssignmentInner> beginUpdate(String resourceGroupName, String securityConnectorName, String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment)

Updates a DevOps Policy Assignment Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
policyAssignmentId - The policy assignment Id.
devOpsPolicyAssignment - The DevOps Policy Assignment.

Returns:

the SyncPoller<T,U> for polling of devOps Policy assignment resource.

beginUpdate

public abstract SyncPoller,DevOpsPolicyAssignmentInner> beginUpdate(String resourceGroupName, String securityConnectorName, String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment, Context context)

Updates a DevOps Policy Assignment Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
policyAssignmentId - The policy assignment Id.
devOpsPolicyAssignment - The DevOps Policy Assignment.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of devOps Policy assignment resource.

createOrUpdate

public abstract DevOpsPolicyAssignmentInner createOrUpdate(String resourceGroupName, String securityConnectorName, String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment)

Creates or updates a DevOps Policy Assignment Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
policyAssignmentId - The policy assignment Id.
devOpsPolicyAssignment - The DevOps Policy Assignment.

Returns:

devOps Policy assignment resource.

createOrUpdate

public abstract DevOpsPolicyAssignmentInner createOrUpdate(String resourceGroupName, String securityConnectorName, String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment, Context context)

Creates or updates a DevOps Policy Assignment Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
policyAssignmentId - The policy assignment Id.
devOpsPolicyAssignment - The DevOps Policy Assignment.
context - The context to associate with this operation.

Returns:

devOps Policy assignment resource.

delete

public abstract void delete(String resourceGroupName, String securityConnectorName, String policyAssignmentId)

Deletes a DevOps Policy Assignment Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
policyAssignmentId - The policy assignment Id.

delete

public abstract void delete(String resourceGroupName, String securityConnectorName, String policyAssignmentId, Context context)

Deletes a DevOps Policy Assignment Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
policyAssignmentId - The policy assignment Id.
context - The context to associate with this operation.

get

public abstract DevOpsPolicyAssignmentInner get(String resourceGroupName, String securityConnectorName, String policyAssignmentId)

Returns a DevOps Policy Assignment Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
policyAssignmentId - The policy assignment Id.

Returns:

devOps Policy assignment resource.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String securityConnectorName, String policyAssignmentId, Context context)

Returns a DevOps Policy Assignment Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
policyAssignmentId - The policy assignment Id.
context - The context to associate with this operation.

Returns:

devOps Policy assignment resource along with Response<T>.

list

public abstract PagedIterable list(String resourceGroupName, String securityConnectorName)

Returns a list of DevOps Policy Assignments.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.

Returns:

list of RP resources which supports pagination as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String securityConnectorName, String devOpsPolicyType, String resourceId, Context context)

Returns a list of DevOps Policy Assignments.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
devOpsPolicyType - Optional filter for listing the policies.
resourceId - Optional filter for listing the assignments of a specific resource.
context - The context to associate with this operation.

Returns:

list of RP resources which supports pagination as paginated response with PagedIterable<T>.

update

public abstract DevOpsPolicyAssignmentInner update(String resourceGroupName, String securityConnectorName, String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment)

Updates a DevOps Policy Assignment Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
policyAssignmentId - The policy assignment Id.
devOpsPolicyAssignment - The DevOps Policy Assignment.

Returns:

devOps Policy assignment resource.

update

public abstract DevOpsPolicyAssignmentInner update(String resourceGroupName, String securityConnectorName, String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment, Context context)

Updates a DevOps Policy Assignment Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
policyAssignmentId - The policy assignment Id.
devOpsPolicyAssignment - The DevOps Policy Assignment.
context - The context to associate with this operation.

Returns:

devOps Policy assignment resource.

Applies to

Azure SDK for Java

Preview