401 строка
20 KiB
YAML
401 строка
20 KiB
YAML
### YamlMime:ManagedReference
|
|
items:
|
|
- uid: com.microsoft.azure.management.resources._policy_assignments
|
|
id: _policy_assignments
|
|
parent: com.microsoft.azure.management.resources
|
|
children:
|
|
- com.microsoft.azure.management.resources._policy_assignments.listByResource(final String)
|
|
href: com.microsoft.azure.management.resources._policy_assignments.yml
|
|
langs:
|
|
- java
|
|
name: PolicyAssignments
|
|
nameWithType: PolicyAssignments
|
|
fullName: com.microsoft.azure.management.resources.PolicyAssignments
|
|
type: Interface
|
|
source:
|
|
remote: &o0
|
|
path: azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyAssignments.java
|
|
branch: v1.3.0
|
|
repo: https://github.com/Azure/azure-sdk-for-java
|
|
path: azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyAssignments.java
|
|
startLine: 20
|
|
package: com.microsoft.azure.management.resources
|
|
summary: <p>Entry point to policy assignment management API. </p>
|
|
syntax:
|
|
content: public interface PolicyAssignments extends SupportsListing<PolicyAssignment>,SupportsListingByResourceGroup<PolicyAssignment>,SupportsGettingById<PolicyAssignment>,SupportsCreating<PolicyAssignment.DefinitionStages.Blank>,SupportsDeletingById
|
|
inheritedMembers:
|
|
- com.microsoft.azure.management.resources.fluentcore.collection._supports_creating.define(String)
|
|
- com.microsoft.azure.management.resources.fluentcore.collection._supports_deleting_by_id.deleteById(String)
|
|
- com.microsoft.azure.management.resources.fluentcore.collection._supports_deleting_by_id.deleteByIdAsync(String,ServiceCallback<Void>)
|
|
- com.microsoft.azure.management.resources.fluentcore.collection._supports_deleting_by_id.deleteByIdAsync(String)
|
|
- com.microsoft.azure.management.resources.fluentcore.arm.collection._supports_getting_by_id.getById(String)
|
|
- com.microsoft.azure.management.resources.fluentcore.arm.collection._supports_getting_by_id.getByIdAsync(String)
|
|
- com.microsoft.azure.management.resources.fluentcore.arm.collection._supports_getting_by_id.getByIdAsync(String,ServiceCallback<T>)
|
|
- com.microsoft.azure.management.resources.fluentcore.collection._supports_listing.list()
|
|
- com.microsoft.azure.management.resources.fluentcore.collection._supports_listing.listAsync()
|
|
- com.microsoft.azure.management.resources.fluentcore.arm.collectiondcedd7c35acb6def31f119e1aca84c40.listByResourceGroup(String)
|
|
- com.microsoft.azure.management.resources.fluentcore.arm.collectiondcedd7c35acb6def31f119e1aca84c40.listByResourceGroupAsync(String)
|
|
- uid: com.microsoft.azure.management.resources._policy_assignments.listByResource(final String)
|
|
id: listByResource(final String)
|
|
parent: com.microsoft.azure.management.resources._policy_assignments
|
|
href: com.microsoft.azure.management.resources._policy_assignments.yml
|
|
langs:
|
|
- java
|
|
name: listByResource(final String resourceId)
|
|
nameWithType: PolicyAssignments.listByResource(final String resourceId)
|
|
fullName: com.microsoft.azure.management.resources.PolicyAssignments.listByResource(final String resourceId)
|
|
overload: com.microsoft.azure.management.resources._policy_assignments.listByResource*
|
|
type: Method
|
|
source:
|
|
remote: *o0
|
|
path: azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyAssignments.java
|
|
startLine: 32
|
|
package: com.microsoft.azure.management.resources
|
|
summary: >-
|
|
<p>List policy assignments of the resource.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public PagedList<PolicyAssignment> listByResource(final String resourceId)
|
|
parameters:
|
|
- id: resourceId
|
|
type: 3d93591e
|
|
description: <p>the ID of the resource </p>
|
|
return:
|
|
type: 36b27be0com.microsoft.azure.management.resources._policy_assignmenta08ddfce
|
|
description: <p>the list of policy assignments </p>
|
|
references:
|
|
- uid: 3d93591e
|
|
spec.java:
|
|
- name: final String
|
|
fullName: final String
|
|
- uid: 36b27be0com.microsoft.azure.management.resources._policy_assignmenta08ddfce
|
|
spec.java:
|
|
- name: PagedList<
|
|
fullName: PagedList<
|
|
- uid: com.microsoft.azure.management.resources._policy_assignment
|
|
name: PolicyAssignment
|
|
fullName: com.microsoft.azure.management.resources.PolicyAssignment
|
|
href: com.microsoft.azure.management.resources._policy_assignment.yml
|
|
- name: '>'
|
|
fullName: '>'
|
|
- uid: com.microsoft.azure.management.resources._policy_assignments.listByResource*
|
|
name: listByResource
|
|
nameWithType: PolicyAssignments.listByResource
|
|
fullName: com.microsoft.azure.management.resources.PolicyAssignments.listByResource
|
|
package: com.microsoft.azure.management.resources
|
|
- uid: com.microsoft.azure.management.resources.fluentcore.collection._supports_creating.define(String)
|
|
parent: com.microsoft.azure.management.resources.fluentcore.collection._supports_creating
|
|
href: com.microsoft.azure.management.resources.fluentcore.collection._supports_creating.yml
|
|
name: define(String name)
|
|
nameWithType: SupportsCreating<T>.define(String name)
|
|
fullName: com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating<T>.define(String name)
|
|
type: Method
|
|
summary: >-
|
|
<p>Begins a definition for a new resource. </p>
|
|
|
|
<p>This is the beginning of the builder pattern used to create top level resources in Azure. The final method completing the definition and starting the actual resource creation process in Azure is <xref uid="com.microsoft.azure.management.resources.fluentcore.model._creatable.create()" data-throw-if-not-resolved="false">Creatable#create()</xref>. </p>
|
|
|
|
<p>Note that the <xref uid="com.microsoft.azure.management.resources.fluentcore.model._creatable.create()" data-throw-if-not-resolved="false">Creatable#create()</xref> method is only available at the stage of the resource definition that has the minimum set of input parameters specified. If you do not see <xref uid="com.microsoft.azure.management.resources.fluentcore.model._creatable.create()" data-throw-if-not-resolved="false">Creatable#create()</xref> among the available methods, it means you have not yet specified all the required input settings. Input settings generally begin with the word "with", for example: and return the next stage of the resource definition, as an interface in the "fluent interface" style. </p>
|
|
syntax:
|
|
content: public T define(String name)
|
|
parameters:
|
|
- id: name
|
|
type: "26831127"
|
|
description: <p>the name of the new resource </p>
|
|
return:
|
|
type: 8ce1ecb9
|
|
description: <p>the first stage of the new resource definition </p>
|
|
- uid: com.microsoft.azure.management.resources.fluentcore.collection._supports_deleting_by_id.deleteById(String)
|
|
parent: com.microsoft.azure.management.resources.fluentcore.collection._supports_deleting_by_id
|
|
href: com.microsoft.azure.management.resources.fluentcore.collection._supports_deleting_by_id.yml
|
|
name: deleteById(String id)
|
|
nameWithType: SupportsDeletingById.deleteById(String id)
|
|
fullName: com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById.deleteById(String id)
|
|
type: Method
|
|
summary: >-
|
|
<p>Deletes a resource from Azure, identifying it by its resource ID.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public void deleteById(String id)
|
|
parameters:
|
|
- id: id
|
|
type: "26831127"
|
|
description: <p>the resource ID of the resource to delete </p>
|
|
- uid: com.microsoft.azure.management.resources.fluentcore.collection._supports_deleting_by_id.deleteByIdAsync(String,ServiceCallback<Void>)
|
|
parent: com.microsoft.azure.management.resources.fluentcore.collection._supports_deleting_by_id
|
|
href: com.microsoft.azure.management.resources.fluentcore.collection._supports_deleting_by_id.yml
|
|
name: deleteByIdAsync(String id, ServiceCallback<Void> callback)
|
|
nameWithType: SupportsDeletingById.deleteByIdAsync(String id, ServiceCallback<Void> callback)
|
|
fullName: com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById.deleteByIdAsync(String id, ServiceCallback<Void> callback)
|
|
type: Method
|
|
summary: >-
|
|
<p>Asynchronously delete a resource from Azure, identifying it by its resource ID.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public ServiceFuture<Void> deleteByIdAsync(String id, ServiceCallback<Void> callback)
|
|
parameters:
|
|
- id: id
|
|
type: "26831127"
|
|
description: <p>the resource ID of the resource to delete </p>
|
|
- id: callback
|
|
type: da7fd5ea
|
|
description: <p>the callback on success or failure </p>
|
|
return:
|
|
type: aa81d378
|
|
description: <p>a handle to cancel the request </p>
|
|
- uid: com.microsoft.azure.management.resources.fluentcore.collection._supports_deleting_by_id.deleteByIdAsync(String)
|
|
parent: com.microsoft.azure.management.resources.fluentcore.collection._supports_deleting_by_id
|
|
href: com.microsoft.azure.management.resources.fluentcore.collection._supports_deleting_by_id.yml
|
|
name: deleteByIdAsync(String id)
|
|
nameWithType: SupportsDeletingById.deleteByIdAsync(String id)
|
|
fullName: com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById.deleteByIdAsync(String id)
|
|
type: Method
|
|
summary: >-
|
|
<p>Asynchronously delete a resource from Azure, identifying it by its resource ID.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public Completable deleteByIdAsync(String id)
|
|
parameters:
|
|
- id: id
|
|
type: "26831127"
|
|
description: <p>the resource ID of the resource to delete </p>
|
|
return:
|
|
type: "56537e90"
|
|
description: <p>a representation of the deferred computation of this call </p>
|
|
- uid: com.microsoft.azure.management.resources.fluentcore.arm.collection._supports_getting_by_id.getById(String)
|
|
parent: com.microsoft.azure.management.resources.fluentcore.arm.collection._supports_getting_by_id
|
|
href: com.microsoft.azure.management.resources.fluentcore.arm.collection._supports_getting_by_id.yml
|
|
name: getById(String id)
|
|
nameWithType: SupportsGettingById<T>.getById(String id)
|
|
fullName: com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById<T>.getById(String id)
|
|
type: Method
|
|
summary: >-
|
|
<p>Gets the information about a resource from Azure based on the resource id.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public T getById(String id)
|
|
parameters:
|
|
- id: id
|
|
type: "26831127"
|
|
description: <p>the id of the resource. </p>
|
|
return:
|
|
type: 8ce1ecb9
|
|
description: <p>an immutable representation of the resource </p>
|
|
- uid: com.microsoft.azure.management.resources.fluentcore.arm.collection._supports_getting_by_id.getByIdAsync(String)
|
|
parent: com.microsoft.azure.management.resources.fluentcore.arm.collection._supports_getting_by_id
|
|
href: com.microsoft.azure.management.resources.fluentcore.arm.collection._supports_getting_by_id.yml
|
|
name: getByIdAsync(String id)
|
|
nameWithType: SupportsGettingById<T>.getByIdAsync(String id)
|
|
fullName: com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById<T>.getByIdAsync(String id)
|
|
type: Method
|
|
summary: >-
|
|
<p>Gets the information about a resource from Azure based on the resource id.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public Observable<T> getByIdAsync(String id)
|
|
parameters:
|
|
- id: id
|
|
type: "26831127"
|
|
description: <p>the id of the resource. </p>
|
|
return:
|
|
type: c4094ba1
|
|
description: <p>an immutable representation of the resource </p>
|
|
- uid: com.microsoft.azure.management.resources.fluentcore.arm.collection._supports_getting_by_id.getByIdAsync(String,ServiceCallback<T>)
|
|
parent: com.microsoft.azure.management.resources.fluentcore.arm.collection._supports_getting_by_id
|
|
href: com.microsoft.azure.management.resources.fluentcore.arm.collection._supports_getting_by_id.yml
|
|
name: getByIdAsync(String id, ServiceCallback<T> callback)
|
|
nameWithType: SupportsGettingById<T>.getByIdAsync(String id, ServiceCallback<T> callback)
|
|
fullName: com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById<T>.getByIdAsync(String id, ServiceCallback<T> callback)
|
|
type: Method
|
|
summary: >-
|
|
<p>Gets the information about a resource from Azure based on the resource id.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public ServiceFuture<T> getByIdAsync(String id, ServiceCallback<T> callback)
|
|
parameters:
|
|
- id: id
|
|
type: "26831127"
|
|
description: <p>the id of the resource. </p>
|
|
- id: callback
|
|
type: 4b6febe3
|
|
description: <p>the callback to call on success or failure </p>
|
|
return:
|
|
type: c0371a4e
|
|
description: <p>an immutable representation of the resource </p>
|
|
- uid: com.microsoft.azure.management.resources.fluentcore.collection._supports_listing.list()
|
|
parent: com.microsoft.azure.management.resources.fluentcore.collection._supports_listing
|
|
href: com.microsoft.azure.management.resources.fluentcore.collection._supports_listing.yml
|
|
name: list()
|
|
nameWithType: SupportsListing<T>.list()
|
|
fullName: com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing<T>.list()
|
|
type: Method
|
|
summary: >-
|
|
<p>Lists all the resources of the specified type in the currently selected subscription.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public PagedList<T> list()
|
|
return:
|
|
type: e5f90f8a
|
|
description: <p>list of resources </p>
|
|
- uid: com.microsoft.azure.management.resources.fluentcore.collection._supports_listing.listAsync()
|
|
parent: com.microsoft.azure.management.resources.fluentcore.collection._supports_listing
|
|
href: com.microsoft.azure.management.resources.fluentcore.collection._supports_listing.yml
|
|
name: listAsync()
|
|
nameWithType: SupportsListing<T>.listAsync()
|
|
fullName: com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing<T>.listAsync()
|
|
type: Method
|
|
summary: >-
|
|
<p>Lists all the resources of the specified type in the currently selected subscription.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public Observable<T> listAsync()
|
|
return:
|
|
type: c4094ba1
|
|
description: <p>list of resources </p>
|
|
- uid: com.microsoft.azure.management.resources.fluentcore.arm.collectiondcedd7c35acb6def31f119e1aca84c40.listByResourceGroup(String)
|
|
parent: com.microsoft.azure.management.resources.fluentcore.arm.collectiondcedd7c35acb6def31f119e1aca84c40
|
|
href: com.microsoft.azure.management.resources.fluentcore.arm.collectiondcedd7c35acb6def31f119e1aca84c40.yml
|
|
name: listByResourceGroup(String resourceGroupName)
|
|
nameWithType: SupportsListingByResourceGroup<T>.listByResourceGroup(String resourceGroupName)
|
|
fullName: com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByResourceGroup<T>.listByResourceGroup(String resourceGroupName)
|
|
type: Method
|
|
summary: >-
|
|
<p>Lists resources of the specified type in the specified resource group.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public PagedList<T> listByResourceGroup(String resourceGroupName)
|
|
parameters:
|
|
- id: resourceGroupName
|
|
type: "26831127"
|
|
description: <p>the name of the resource group to list the resources from </p>
|
|
return:
|
|
type: e5f90f8a
|
|
description: <p>the list of resources </p>
|
|
- uid: com.microsoft.azure.management.resources.fluentcore.arm.collectiondcedd7c35acb6def31f119e1aca84c40.listByResourceGroupAsync(String)
|
|
parent: com.microsoft.azure.management.resources.fluentcore.arm.collectiondcedd7c35acb6def31f119e1aca84c40
|
|
href: com.microsoft.azure.management.resources.fluentcore.arm.collectiondcedd7c35acb6def31f119e1aca84c40.yml
|
|
name: listByResourceGroupAsync(String resourceGroupName)
|
|
nameWithType: SupportsListingByResourceGroup<T>.listByResourceGroupAsync(String resourceGroupName)
|
|
fullName: com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByResourceGroup<T>.listByResourceGroupAsync(String resourceGroupName)
|
|
type: Method
|
|
summary: >-
|
|
<p>Lists resources of the specified type in the specified resource group.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public Observable<T> listByResourceGroupAsync(String resourceGroupName)
|
|
parameters:
|
|
- id: resourceGroupName
|
|
type: "26831127"
|
|
description: <p>the name of the resource group to list the resources from </p>
|
|
return:
|
|
type: c4094ba1
|
|
description: <p>the list of resources </p>
|
|
- uid: com.microsoft.azure.management.resources.fluentcore.collection._supports_listing
|
|
parent: com.microsoft.azure.management.resources.fluentcore.collection
|
|
href: com.microsoft.azure.management.resources.fluentcore.collection._supports_listing.yml
|
|
name: SupportsListing<T>
|
|
nameWithType: SupportsListing<T>
|
|
fullName: com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing<T>
|
|
type: Interface
|
|
summary: >-
|
|
<p>Provides access to listing Azure resources of a specific type in a subscription. </p>
|
|
|
|
<p>(Note: this interface is not intended to be implemented by user code)</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public interface SupportsListing<T>
|
|
typeParameters:
|
|
- id: T
|
|
type: 8ce1ecb9
|
|
description: <p>the fluent type of the resource </p>
|
|
- uid: com.microsoft.azure.management.resources.fluentcore.arm.collectiondcedd7c35acb6def31f119e1aca84c40
|
|
parent: com.microsoft.azure.management.resources.fluentcore.arm.collection
|
|
href: com.microsoft.azure.management.resources.fluentcore.arm.collectiondcedd7c35acb6def31f119e1aca84c40.yml
|
|
name: SupportsListingByResourceGroup<T>
|
|
nameWithType: SupportsListingByResourceGroup<T>
|
|
fullName: com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByResourceGroup<T>
|
|
type: Interface
|
|
summary: >-
|
|
<p>Provides access to listing Azure resources of a specific type in a specific resource group. </p>
|
|
|
|
<p>(Note this interface is not intended to be implemented by user code.)</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public interface SupportsListingByResourceGroup<T>
|
|
typeParameters:
|
|
- id: T
|
|
type: 8ce1ecb9
|
|
description: <p>the type of the resources listed. </p>
|
|
- uid: com.microsoft.azure.management.resources.fluentcore.arm.collection._supports_getting_by_id
|
|
parent: com.microsoft.azure.management.resources.fluentcore.arm.collection
|
|
href: com.microsoft.azure.management.resources.fluentcore.arm.collection._supports_getting_by_id.yml
|
|
name: SupportsGettingById<T>
|
|
nameWithType: SupportsGettingById<T>
|
|
fullName: com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById<T>
|
|
type: Interface
|
|
summary: >-
|
|
<p>Provides access to getting a specific Azure resource based on its resource ID. </p>
|
|
|
|
<p>(Note this interface is not intended to be implemented by user code.)</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public interface SupportsGettingById<T>
|
|
typeParameters:
|
|
- id: T
|
|
type: 8ce1ecb9
|
|
description: <p>the type of the resource collection </p>
|
|
- uid: com.microsoft.azure.management.resources.fluentcore.collection._supports_creating
|
|
parent: com.microsoft.azure.management.resources.fluentcore.collection
|
|
href: com.microsoft.azure.management.resources.fluentcore.collection._supports_creating.yml
|
|
name: SupportsCreating<T>
|
|
nameWithType: SupportsCreating<T>
|
|
fullName: com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating<T>
|
|
type: Interface
|
|
summary: >-
|
|
<p>Providing access to creating Azure top level resources. </p>
|
|
|
|
<p>(Note: this interface is not intended to be implemented by user code) </p>
|
|
syntax:
|
|
content: public interface SupportsCreating<T>
|
|
typeParameters:
|
|
- id: T
|
|
type: 8ce1ecb9
|
|
description: <p>the initial blank definition interface </p>
|
|
- uid: com.microsoft.azure.management.resources.fluentcore.collection._supports_deleting_by_id
|
|
parent: com.microsoft.azure.management.resources.fluentcore.collection
|
|
href: com.microsoft.azure.management.resources.fluentcore.collection._supports_deleting_by_id.yml
|
|
name: SupportsDeletingById
|
|
nameWithType: SupportsDeletingById
|
|
fullName: com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById
|
|
type: Interface
|
|
summary: >-
|
|
<p>Provides access to deleting a resource from Azure, identifying it by its resource ID. </p>
|
|
|
|
<p>(Note: this interface is not intended to be implemented by user code) </p>
|
|
syntax:
|
|
content: public interface SupportsDeletingById
|
|
- uid: com.microsoft.azure.management.resources._policy_assignment
|
|
parent: com.microsoft.azure.management.resources
|
|
href: com.microsoft.azure.management.resources._policy_assignment.yml
|
|
name: PolicyAssignment
|
|
nameWithType: PolicyAssignment
|
|
fullName: com.microsoft.azure.management.resources.PolicyAssignment
|
|
type: Interface
|
|
summary: <p>An immutable client-side representation of an Azure policy assignment. </p>
|
|
syntax:
|
|
content: public interface PolicyAssignment extends HasName,HasId,Indexable,Refreshable<PolicyAssignment>,HasInner<PolicyAssignmentInner>
|