azure-native.containerservice.getFleet
Explore with Pulumi AI
Gets a Fleet.
Uses Azure REST API version 2024-05-02-preview.
Other available API versions: 2022-06-02-preview, 2022-07-02-preview, 2022-09-02-preview, 2023-03-15-preview, 2023-06-15-preview, 2023-08-15-preview, 2023-10-15, 2024-02-02-preview, 2024-04-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native containerservice [ApiVersion]
. See the version guide for details.
Using getFleet
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFleet(args: GetFleetArgs, opts?: InvokeOptions): Promise<GetFleetResult>
function getFleetOutput(args: GetFleetOutputArgs, opts?: InvokeOptions): Output<GetFleetResult>
def get_fleet(fleet_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFleetResult
def get_fleet_output(fleet_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFleetResult]
func LookupFleet(ctx *Context, args *LookupFleetArgs, opts ...InvokeOption) (*LookupFleetResult, error)
func LookupFleetOutput(ctx *Context, args *LookupFleetOutputArgs, opts ...InvokeOption) LookupFleetResultOutput
> Note: This function is named LookupFleet
in the Go SDK.
public static class GetFleet
{
public static Task<GetFleetResult> InvokeAsync(GetFleetArgs args, InvokeOptions? opts = null)
public static Output<GetFleetResult> Invoke(GetFleetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFleetResult> getFleet(GetFleetArgs args, InvokeOptions options)
public static Output<GetFleetResult> getFleet(GetFleetArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:containerservice:getFleet
arguments:
# arguments dictionary
The following arguments are supported:
- Fleet
Name string - The name of the Fleet resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Fleet
Name string - The name of the Fleet resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- fleet
Name String - The name of the Fleet resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- fleet
Name string - The name of the Fleet resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- fleet_
name str - The name of the Fleet resource.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- fleet
Name String - The name of the Fleet resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getFleet Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- ETag string
- If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Provisioning
State string - The status of the last operation.
- System
Data Pulumi.Azure Native. Container Service. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Hub
Profile Pulumi.Azure Native. Container Service. Outputs. Fleet Hub Profile Response - The FleetHubProfile configures the Fleet's hub.
- Identity
Pulumi.
Azure Native. Container Service. Outputs. Managed Service Identity Response - Managed identity.
- Dictionary<string, string>
- Resource tags.
- Azure
Api stringVersion - The Azure API version of the resource.
- ETag string
- If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Provisioning
State string - The status of the last operation.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Hub
Profile FleetHub Profile Response - The FleetHubProfile configures the Fleet's hub.
- Identity
Managed
Service Identity Response - Managed identity.
- map[string]string
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- e
Tag String - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioning
State String - The status of the last operation.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- hub
Profile FleetHub Profile Response - The FleetHubProfile configures the Fleet's hub.
- identity
Managed
Service Identity Response - Managed identity.
- Map<String,String>
- Resource tags.
- azure
Api stringVersion - The Azure API version of the resource.
- e
Tag string - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- provisioning
State string - The status of the last operation.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- hub
Profile FleetHub Profile Response - The FleetHubProfile configures the Fleet's hub.
- identity
Managed
Service Identity Response - Managed identity.
- {[key: string]: string}
- Resource tags.
- azure_
api_ strversion - The Azure API version of the resource.
- e_
tag str - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- provisioning_
state str - The status of the last operation.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- hub_
profile FleetHub Profile Response - The FleetHubProfile configures the Fleet's hub.
- identity
Managed
Service Identity Response - Managed identity.
- Mapping[str, str]
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- e
Tag String - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioning
State String - The status of the last operation.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- hub
Profile Property Map - The FleetHubProfile configures the Fleet's hub.
- identity Property Map
- Managed identity.
- Map<String>
- Resource tags.
Supporting Types
APIServerAccessProfileResponse
- Enable
Private boolCluster - Whether to create the Fleet hub as a private cluster or not.
- Enable
Vnet boolIntegration - Whether to enable apiserver vnet integration for the Fleet hub or not.
- Subnet
Id string - The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet.
- Enable
Private boolCluster - Whether to create the Fleet hub as a private cluster or not.
- Enable
Vnet boolIntegration - Whether to enable apiserver vnet integration for the Fleet hub or not.
- Subnet
Id string - The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet.
- enable
Private BooleanCluster - Whether to create the Fleet hub as a private cluster or not.
- enable
Vnet BooleanIntegration - Whether to enable apiserver vnet integration for the Fleet hub or not.
- subnet
Id String - The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet.
- enable
Private booleanCluster - Whether to create the Fleet hub as a private cluster or not.
- enable
Vnet booleanIntegration - Whether to enable apiserver vnet integration for the Fleet hub or not.
- subnet
Id string - The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet.
- enable_
private_ boolcluster - Whether to create the Fleet hub as a private cluster or not.
- enable_
vnet_ boolintegration - Whether to enable apiserver vnet integration for the Fleet hub or not.
- subnet_
id str - The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet.
- enable
Private BooleanCluster - Whether to create the Fleet hub as a private cluster or not.
- enable
Vnet BooleanIntegration - Whether to enable apiserver vnet integration for the Fleet hub or not.
- subnet
Id String - The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet.
AgentProfileResponse
FleetHubProfileResponse
- Fqdn string
- The FQDN of the Fleet hub.
- Kubernetes
Version string - The Kubernetes version of the Fleet hub.
- Portal
Fqdn string - The Azure Portal FQDN of the Fleet hub.
- Agent
Profile Pulumi.Azure Native. Container Service. Inputs. Agent Profile Response - The agent profile for the Fleet hub.
- Api
Server Pulumi.Access Profile Azure Native. Container Service. Inputs. APIServer Access Profile Response - The access profile for the Fleet hub API server.
- Dns
Prefix string - DNS prefix used to create the FQDN for the Fleet hub.
- Fqdn string
- The FQDN of the Fleet hub.
- Kubernetes
Version string - The Kubernetes version of the Fleet hub.
- Portal
Fqdn string - The Azure Portal FQDN of the Fleet hub.
- Agent
Profile AgentProfile Response - The agent profile for the Fleet hub.
- Api
Server APIServerAccess Profile Access Profile Response - The access profile for the Fleet hub API server.
- Dns
Prefix string - DNS prefix used to create the FQDN for the Fleet hub.
- fqdn String
- The FQDN of the Fleet hub.
- kubernetes
Version String - The Kubernetes version of the Fleet hub.
- portal
Fqdn String - The Azure Portal FQDN of the Fleet hub.
- agent
Profile AgentProfile Response - The agent profile for the Fleet hub.
- api
Server APIServerAccess Profile Access Profile Response - The access profile for the Fleet hub API server.
- dns
Prefix String - DNS prefix used to create the FQDN for the Fleet hub.
- fqdn string
- The FQDN of the Fleet hub.
- kubernetes
Version string - The Kubernetes version of the Fleet hub.
- portal
Fqdn string - The Azure Portal FQDN of the Fleet hub.
- agent
Profile AgentProfile Response - The agent profile for the Fleet hub.
- api
Server APIServerAccess Profile Access Profile Response - The access profile for the Fleet hub API server.
- dns
Prefix string - DNS prefix used to create the FQDN for the Fleet hub.
- fqdn str
- The FQDN of the Fleet hub.
- kubernetes_
version str - The Kubernetes version of the Fleet hub.
- portal_
fqdn str - The Azure Portal FQDN of the Fleet hub.
- agent_
profile AgentProfile Response - The agent profile for the Fleet hub.
- api_
server_ APIServeraccess_ profile Access Profile Response - The access profile for the Fleet hub API server.
- dns_
prefix str - DNS prefix used to create the FQDN for the Fleet hub.
- fqdn String
- The FQDN of the Fleet hub.
- kubernetes
Version String - The Kubernetes version of the Fleet hub.
- portal
Fqdn String - The Azure Portal FQDN of the Fleet hub.
- agent
Profile Property Map - The agent profile for the Fleet hub.
- api
Server Property MapAccess Profile - The access profile for the Fleet hub API server.
- dns
Prefix String - DNS prefix used to create the FQDN for the Fleet hub.
ManagedServiceIdentityResponse
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Container Service. Inputs. User Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned map[string]UserIdentities Assigned Identity Response - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<String,UserIdentities Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned {[key: string]: UserIdentities Assigned Identity Response} - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal_
id str - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id str - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type str
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Response] - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<Property Map>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserAssignedIdentityResponse
- Client
Id string - The client ID of the user assigned identity.
- Object
Id string - The object ID of the user assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Resource
Id string - The resource ID of the user assigned identity.
- Client
Id string - The client ID of the user assigned identity.
- Object
Id string - The object ID of the user assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Resource
Id string - The resource ID of the user assigned identity.
- client
Id String - The client ID of the user assigned identity.
- object
Id String - The object ID of the user assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- resource
Id String - The resource ID of the user assigned identity.
- client
Id string - The client ID of the user assigned identity.
- object
Id string - The object ID of the user assigned identity.
- principal
Id string - The principal ID of the assigned identity.
- resource
Id string - The resource ID of the user assigned identity.
- client_
id str - The client ID of the user assigned identity.
- object_
id str - The object ID of the user assigned identity.
- principal_
id str - The principal ID of the assigned identity.
- resource_
id str - The resource ID of the user assigned identity.
- client
Id String - The client ID of the user assigned identity.
- object
Id String - The object ID of the user assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- resource
Id String - The resource ID of the user assigned identity.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0