PoliciesClient Interface
public interface PoliciesClient
An instance of this class provides access to all the operations defined in PoliciesClient.
Method Summary
Method Details
createOrUpdate
public abstract PolicyInner createOrUpdate(String resourceGroupName, String labName, String policySetName, String name, PolicyInner policy)
Create or replace an existing policy.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<PolicyInner> createOrUpdateWithResponse(String resourceGroupName, String labName, String policySetName, String name, PolicyInner policy, Context context)
Create or replace an existing policy.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String labName, String policySetName, String name)
Delete policy.
Parameters:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String resourceGroupName, String labName, String policySetName, String name, Context context)
Delete policy.
Parameters:
Returns:
get
public abstract PolicyInner get(String resourceGroupName, String labName, String policySetName, String name)
Get policy.
Parameters:
Returns:
getWithResponse
public abstract Response<PolicyInner> getWithResponse(String resourceGroupName, String labName, String policySetName, String name, String expand, Context context)
Get policy.
Parameters:
Returns:
list
public abstract PagedIterable<PolicyInner> list(String resourceGroupName, String labName, String policySetName)
List policies in a given policy set.
Parameters:
Returns:
list
public abstract PagedIterable<PolicyInner> list(String resourceGroupName, String labName, String policySetName, String expand, String filter, Integer top, String orderby, Context context)
List policies in a given policy set.
Parameters:
Returns:
update
public abstract PolicyInner update(String resourceGroupName, String labName, String policySetName, String name, PolicyFragment policy)
Allows modifying tags of policies. All other properties will be ignored.
Parameters:
Returns:
updateWithResponse
public abstract Response<PolicyInner> updateWithResponse(String resourceGroupName, String labName, String policySetName, String name, PolicyFragment policy, Context context)
Allows modifying tags of policies. All other properties will be ignored.
Parameters:
Returns: