GetResources
Use this data source to access information about existing resources.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Using GetResources
function getResources(args: GetResourcesArgs, opts?: InvokeOptions): Promise<GetResourcesResult>function get_resources(name=None, required_tags=None, resource_group_name=None, type=None, opts=None)func GetResources(ctx *Context, args *GetResourcesArgs, opts ...InvokeOption) (*GetResourcesResult, error)public static class GetResources {
public static Task<GetResourcesResult> InvokeAsync(GetResourcesArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Name string
The name of the Resource.
- Dictionary<string, string>
A mapping of tags which the resource has to have in order to be included in the result.
- Resource
Group stringName The name of the Resource group where the Resources are located.
- Type string
The Resource Type of the Resources you want to list (e.g.
Microsoft.Network/virtualNetworks). A full list of available Resource Types can be found here.
- Name string
The name of the Resource.
- map[string]string
A mapping of tags which the resource has to have in order to be included in the result.
- Resource
Group stringName The name of the Resource group where the Resources are located.
- Type string
The Resource Type of the Resources you want to list (e.g.
Microsoft.Network/virtualNetworks). A full list of available Resource Types can be found here.
- name string
The name of the Resource.
- {[key: string]: string}
A mapping of tags which the resource has to have in order to be included in the result.
- resource
Group stringName The name of the Resource group where the Resources are located.
- type string
The Resource Type of the Resources you want to list (e.g.
Microsoft.Network/virtualNetworks). A full list of available Resource Types can be found here.
- name str
The name of the Resource.
- Dict[str, str]
A mapping of tags which the resource has to have in order to be included in the result.
- resource_
group_ strname The name of the Resource group where the Resources are located.
- type str
The Resource Type of the Resources you want to list (e.g.
Microsoft.Network/virtualNetworks). A full list of available Resource Types can be found here.
GetResources Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The name of this Resource.
- Resource
Group stringName - Resources
List<Get
Resources Resource> One or more
resourceblocks as defined below.- Type string
The type of this Resource. (e.g.
Microsoft.Network/virtualNetworks).- Dictionary<string, string>
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The name of this Resource.
- Resource
Group stringName - Resources
[]Get
Resources Resource One or more
resourceblocks as defined below.- Type string
The type of this Resource. (e.g.
Microsoft.Network/virtualNetworks).- map[string]string
- id string
The provider-assigned unique ID for this managed resource.
- name string
The name of this Resource.
- resource
Group stringName - resources
Get
Resources Resource[] One or more
resourceblocks as defined below.- type string
The type of this Resource. (e.g.
Microsoft.Network/virtualNetworks).- {[key: string]: string}
- id str
The provider-assigned unique ID for this managed resource.
- name str
The name of this Resource.
- resource_
group_ strname - resources
List[Get
Resources Resource] One or more
resourceblocks as defined below.- type str
The type of this Resource. (e.g.
Microsoft.Network/virtualNetworks).- Dict[str, str]
Supporting Types
GetResourcesResource
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Id string
The ID of this Resource.
- Location string
The Azure Region in which this Resource exists.
- Name string
The name of the Resource.
- Dictionary<string, string>
A map of tags assigned to this Resource.
- Type string
The Resource Type of the Resources you want to list (e.g.
Microsoft.Network/virtualNetworks). A full list of available Resource Types can be found here.
- Id string
The ID of this Resource.
- Location string
The Azure Region in which this Resource exists.
- Name string
The name of the Resource.
- map[string]string
A map of tags assigned to this Resource.
- Type string
The Resource Type of the Resources you want to list (e.g.
Microsoft.Network/virtualNetworks). A full list of available Resource Types can be found here.
- id string
The ID of this Resource.
- location string
The Azure Region in which this Resource exists.
- name string
The name of the Resource.
- {[key: string]: string}
A map of tags assigned to this Resource.
- type string
The Resource Type of the Resources you want to list (e.g.
Microsoft.Network/virtualNetworks). A full list of available Resource Types can be found here.
- id str
The ID of this Resource.
- location str
The Azure Region in which this Resource exists.
- name str
The name of the Resource.
- Dict[str, str]
A map of tags assigned to this Resource.
- type str
The Resource Type of the Resources you want to list (e.g.
Microsoft.Network/virtualNetworks). A full list of available Resource Types can be found here.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.