azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.d...

297 строки
23 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient"
fullName: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient"
name: "PoliciesClient"
nameWithType: "PoliciesClient"
summary: "An instance of this class provides access to all the operations defined in Policies<wbr>Client."
syntax: "public interface **PoliciesClient**"
methods:
- uid: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.createOrUpdate(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner)"
fullName: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.createOrUpdate(String resourceGroupName, String labName, String policySetName, String name, PolicyInner policy)"
name: "createOrUpdate(String resourceGroupName, String labName, String policySetName, String name, PolicyInner policy)"
nameWithType: "PoliciesClient.createOrUpdate(String resourceGroupName, String labName, String policySetName, String name, PolicyInner policy)"
summary: "Create or replace an existing policy."
modifiers:
- "abstract"
parameters:
- description: "The name of the resource group."
name: "resourceGroupName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the lab."
name: "labName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy set."
name: "policySetName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "A Policy."
name: "policy"
type: "<xref href=\"com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner?alt=com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner&text=PolicyInner\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract PolicyInner createOrUpdate(String resourceGroupName, String labName, String policySetName, String name, PolicyInner policy)"
desc: "Create or replace an existing policy."
returns:
description: "a Policy."
type: "<xref href=\"com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner?alt=com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner&text=PolicyInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.createOrUpdateWithResponse(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner,com.azure.core.util.Context)"
fullName: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.createOrUpdateWithResponse(String resourceGroupName, String labName, String policySetName, String name, PolicyInner policy, Context context)"
name: "createOrUpdateWithResponse(String resourceGroupName, String labName, String policySetName, String name, PolicyInner policy, Context context)"
nameWithType: "PoliciesClient.createOrUpdateWithResponse(String resourceGroupName, String labName, String policySetName, String name, PolicyInner policy, Context context)"
summary: "Create or replace an existing policy."
modifiers:
- "abstract"
parameters:
- description: "The name of the resource group."
name: "resourceGroupName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the lab."
name: "labName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy set."
name: "policySetName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "A Policy."
name: "policy"
type: "<xref href=\"com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner?alt=com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner&text=PolicyInner\" data-throw-if-not-resolved=\"False\" />"
- description: "The context to associate with this operation."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Response<PolicyInner> createOrUpdateWithResponse(String resourceGroupName, String labName, String policySetName, String name, PolicyInner policy, Context context)"
desc: "Create or replace an existing policy."
returns:
description: "a Policy along with <xref uid=\"com.azure.core.http.rest.Response\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Response\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner?alt=com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner&text=PolicyInner\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.delete(java.lang.String,java.lang.String,java.lang.String,java.lang.String)"
fullName: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.delete(String resourceGroupName, String labName, String policySetName, String name)"
name: "delete(String resourceGroupName, String labName, String policySetName, String name)"
nameWithType: "PoliciesClient.delete(String resourceGroupName, String labName, String policySetName, String name)"
summary: "Delete policy."
modifiers:
- "abstract"
parameters:
- description: "The name of the resource group."
name: "resourceGroupName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the lab."
name: "labName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy set."
name: "policySetName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract void delete(String resourceGroupName, String labName, String policySetName, String name)"
desc: "Delete policy."
- uid: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.deleteWithResponse(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)"
fullName: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.deleteWithResponse(String resourceGroupName, String labName, String policySetName, String name, Context context)"
name: "deleteWithResponse(String resourceGroupName, String labName, String policySetName, String name, Context context)"
nameWithType: "PoliciesClient.deleteWithResponse(String resourceGroupName, String labName, String policySetName, String name, Context context)"
summary: "Delete policy."
modifiers:
- "abstract"
parameters:
- description: "The name of the resource group."
name: "resourceGroupName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the lab."
name: "labName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy set."
name: "policySetName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The context to associate with this operation."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Response<Void> deleteWithResponse(String resourceGroupName, String labName, String policySetName, String name, Context context)"
desc: "Delete policy."
returns:
description: "the <xref uid=\"com.azure.core.http.rest.Response\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Response\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html\">Void</a>&gt;"
- uid: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.get(java.lang.String,java.lang.String,java.lang.String,java.lang.String)"
fullName: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.get(String resourceGroupName, String labName, String policySetName, String name)"
name: "get(String resourceGroupName, String labName, String policySetName, String name)"
nameWithType: "PoliciesClient.get(String resourceGroupName, String labName, String policySetName, String name)"
summary: "Get policy."
modifiers:
- "abstract"
parameters:
- description: "The name of the resource group."
name: "resourceGroupName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the lab."
name: "labName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy set."
name: "policySetName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract PolicyInner get(String resourceGroupName, String labName, String policySetName, String name)"
desc: "Get policy."
returns:
description: "policy."
type: "<xref href=\"com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner?alt=com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner&text=PolicyInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.getWithResponse(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)"
fullName: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.getWithResponse(String resourceGroupName, String labName, String policySetName, String name, String expand, Context context)"
name: "getWithResponse(String resourceGroupName, String labName, String policySetName, String name, String expand, Context context)"
nameWithType: "PoliciesClient.getWithResponse(String resourceGroupName, String labName, String policySetName, String name, String expand, Context context)"
summary: "Get policy."
modifiers:
- "abstract"
parameters:
- description: "The name of the resource group."
name: "resourceGroupName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the lab."
name: "labName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy set."
name: "policySetName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "Specify the $expand query. Example: 'properties($select=description)'."
name: "expand"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The context to associate with this operation."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Response<PolicyInner> getWithResponse(String resourceGroupName, String labName, String policySetName, String name, String expand, Context context)"
desc: "Get policy."
returns:
description: "policy along with <xref uid=\"com.azure.core.http.rest.Response\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Response\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner?alt=com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner&text=PolicyInner\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.list(java.lang.String,java.lang.String,java.lang.String)"
fullName: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.list(String resourceGroupName, String labName, String policySetName)"
name: "list(String resourceGroupName, String labName, String policySetName)"
nameWithType: "PoliciesClient.list(String resourceGroupName, String labName, String policySetName)"
summary: "List policies in a given policy set."
modifiers:
- "abstract"
parameters:
- description: "The name of the resource group."
name: "resourceGroupName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the lab."
name: "labName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy set."
name: "policySetName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract PagedIterable<PolicyInner> list(String resourceGroupName, String labName, String policySetName)"
desc: "List policies in a given policy set."
returns:
description: "the response of a list operation as paginated response with <xref uid=\"com.azure.core.http.rest.PagedIterable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PagedIterable\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.PagedIterable?alt=com.azure.core.http.rest.PagedIterable&text=PagedIterable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner?alt=com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner&text=PolicyInner\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.list(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Integer,java.lang.String,com.azure.core.util.Context)"
fullName: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.list(String resourceGroupName, String labName, String policySetName, String expand, String filter, Integer top, String orderby, Context context)"
name: "list(String resourceGroupName, String labName, String policySetName, String expand, String filter, Integer top, String orderby, Context context)"
nameWithType: "PoliciesClient.list(String resourceGroupName, String labName, String policySetName, String expand, String filter, Integer top, String orderby, Context context)"
summary: "List policies in a given policy set."
modifiers:
- "abstract"
parameters:
- description: "The name of the resource group."
name: "resourceGroupName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the lab."
name: "labName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy set."
name: "policySetName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "Specify the $expand query. Example: 'properties($select=description)'."
name: "expand"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The filter to apply to the operation. Example: '$filter=contains(name,'myName')."
name: "filter"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The maximum number of resources to return from the operation. Example: '$top=10'."
name: "top"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- description: "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'."
name: "orderby"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The context to associate with this operation."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract PagedIterable<PolicyInner> list(String resourceGroupName, String labName, String policySetName, String expand, String filter, Integer top, String orderby, Context context)"
desc: "List policies in a given policy set."
returns:
description: "the response of a list operation as paginated response with <xref uid=\"com.azure.core.http.rest.PagedIterable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PagedIterable\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.PagedIterable?alt=com.azure.core.http.rest.PagedIterable&text=PagedIterable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner?alt=com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner&text=PolicyInner\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.update(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.azure.resourcemanager.devtestlabs.models.PolicyFragment)"
fullName: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.update(String resourceGroupName, String labName, String policySetName, String name, PolicyFragment policy)"
name: "update(String resourceGroupName, String labName, String policySetName, String name, PolicyFragment policy)"
nameWithType: "PoliciesClient.update(String resourceGroupName, String labName, String policySetName, String name, PolicyFragment policy)"
summary: "Allows modifying tags of policies."
modifiers:
- "abstract"
parameters:
- description: "The name of the resource group."
name: "resourceGroupName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the lab."
name: "labName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy set."
name: "policySetName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "A Policy."
name: "policy"
type: "<xref href=\"com.azure.resourcemanager.devtestlabs.models.PolicyFragment?alt=com.azure.resourcemanager.devtestlabs.models.PolicyFragment&text=PolicyFragment\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract PolicyInner update(String resourceGroupName, String labName, String policySetName, String name, PolicyFragment policy)"
desc: "Allows modifying tags of policies. All other properties will be ignored."
returns:
description: "a Policy."
type: "<xref href=\"com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner?alt=com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner&text=PolicyInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.updateWithResponse(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.azure.resourcemanager.devtestlabs.models.PolicyFragment,com.azure.core.util.Context)"
fullName: "com.azure.resourcemanager.devtestlabs.fluent.PoliciesClient.updateWithResponse(String resourceGroupName, String labName, String policySetName, String name, PolicyFragment policy, Context context)"
name: "updateWithResponse(String resourceGroupName, String labName, String policySetName, String name, PolicyFragment policy, Context context)"
nameWithType: "PoliciesClient.updateWithResponse(String resourceGroupName, String labName, String policySetName, String name, PolicyFragment policy, Context context)"
summary: "Allows modifying tags of policies."
modifiers:
- "abstract"
parameters:
- description: "The name of the resource group."
name: "resourceGroupName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the lab."
name: "labName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy set."
name: "policySetName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the policy."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "A Policy."
name: "policy"
type: "<xref href=\"com.azure.resourcemanager.devtestlabs.models.PolicyFragment?alt=com.azure.resourcemanager.devtestlabs.models.PolicyFragment&text=PolicyFragment\" data-throw-if-not-resolved=\"False\" />"
- description: "The context to associate with this operation."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Response<PolicyInner> updateWithResponse(String resourceGroupName, String labName, String policySetName, String name, PolicyFragment policy, Context context)"
desc: "Allows modifying tags of policies. All other properties will be ignored."
returns:
description: "a Policy along with <xref uid=\"com.azure.core.http.rest.Response\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Response\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner?alt=com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner&text=PolicyInner\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "interface"
desc: "An instance of this class provides access to all the operations defined in PoliciesClient."
metadata: {}
package: "com.azure.resourcemanager.devtestlabs.fluent"
artifact: com.azure.resourcemanager:azure-resourcemanager-devtestlabs:1.0.0