1. Packages
  2. Azure Native
  3. API Docs
  4. customerinsights
  5. getView
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.customerinsights.getView

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Gets a view in the hub.

Uses Azure REST API version 2017-04-26.

Using getView

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 getView(args: GetViewArgs, opts?: InvokeOptions): Promise<GetViewResult>
function getViewOutput(args: GetViewOutputArgs, opts?: InvokeOptions): Output<GetViewResult>
Copy
def get_view(hub_name: Optional[str] = None,
             resource_group_name: Optional[str] = None,
             user_id: Optional[str] = None,
             view_name: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetViewResult
def get_view_output(hub_name: Optional[pulumi.Input[str]] = None,
             resource_group_name: Optional[pulumi.Input[str]] = None,
             user_id: Optional[pulumi.Input[str]] = None,
             view_name: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetViewResult]
Copy
func LookupView(ctx *Context, args *LookupViewArgs, opts ...InvokeOption) (*LookupViewResult, error)
func LookupViewOutput(ctx *Context, args *LookupViewOutputArgs, opts ...InvokeOption) LookupViewResultOutput
Copy

> Note: This function is named LookupView in the Go SDK.

public static class GetView 
{
    public static Task<GetViewResult> InvokeAsync(GetViewArgs args, InvokeOptions? opts = null)
    public static Output<GetViewResult> Invoke(GetViewInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetViewResult> getView(GetViewArgs args, InvokeOptions options)
public static Output<GetViewResult> getView(GetViewArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:customerinsights:getView
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

HubName
This property is required.
Changes to this property will trigger replacement.
string
The name of the hub.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
UserId This property is required. string
The user ID. Use * to retrieve hub level view.
ViewName
This property is required.
Changes to this property will trigger replacement.
string
The name of the view.
HubName
This property is required.
Changes to this property will trigger replacement.
string
The name of the hub.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
UserId This property is required. string
The user ID. Use * to retrieve hub level view.
ViewName
This property is required.
Changes to this property will trigger replacement.
string
The name of the view.
hubName
This property is required.
Changes to this property will trigger replacement.
String
The name of the hub.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
userId This property is required. String
The user ID. Use * to retrieve hub level view.
viewName
This property is required.
Changes to this property will trigger replacement.
String
The name of the view.
hubName
This property is required.
Changes to this property will trigger replacement.
string
The name of the hub.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
userId This property is required. string
The user ID. Use * to retrieve hub level view.
viewName
This property is required.
Changes to this property will trigger replacement.
string
The name of the view.
hub_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the hub.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
user_id This property is required. str
The user ID. Use * to retrieve hub level view.
view_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the view.
hubName
This property is required.
Changes to this property will trigger replacement.
String
The name of the hub.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
userId This property is required. String
The user ID. Use * to retrieve hub level view.
viewName
This property is required.
Changes to this property will trigger replacement.
String
The name of the view.

getView Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Changed string
Date time when view was last modified.
Created string
Date time when view was created.
Definition string
View definition.
Id string
Resource ID.
Name string
Resource name.
TenantId string
the hub name.
Type string
Resource type.
ViewName string
Name of the view.
DisplayName Dictionary<string, string>
Localized display name for the view.
UserId string
the user ID.
AzureApiVersion string
The Azure API version of the resource.
Changed string
Date time when view was last modified.
Created string
Date time when view was created.
Definition string
View definition.
Id string
Resource ID.
Name string
Resource name.
TenantId string
the hub name.
Type string
Resource type.
ViewName string
Name of the view.
DisplayName map[string]string
Localized display name for the view.
UserId string
the user ID.
azureApiVersion String
The Azure API version of the resource.
changed String
Date time when view was last modified.
created String
Date time when view was created.
definition String
View definition.
id String
Resource ID.
name String
Resource name.
tenantId String
the hub name.
type String
Resource type.
viewName String
Name of the view.
displayName Map<String,String>
Localized display name for the view.
userId String
the user ID.
azureApiVersion string
The Azure API version of the resource.
changed string
Date time when view was last modified.
created string
Date time when view was created.
definition string
View definition.
id string
Resource ID.
name string
Resource name.
tenantId string
the hub name.
type string
Resource type.
viewName string
Name of the view.
displayName {[key: string]: string}
Localized display name for the view.
userId string
the user ID.
azure_api_version str
The Azure API version of the resource.
changed str
Date time when view was last modified.
created str
Date time when view was created.
definition str
View definition.
id str
Resource ID.
name str
Resource name.
tenant_id str
the hub name.
type str
Resource type.
view_name str
Name of the view.
display_name Mapping[str, str]
Localized display name for the view.
user_id str
the user ID.
azureApiVersion String
The Azure API version of the resource.
changed String
Date time when view was last modified.
created String
Date time when view was created.
definition String
View definition.
id String
Resource ID.
name String
Resource name.
tenantId String
the hub name.
type String
Resource type.
viewName String
Name of the view.
displayName Map<String>
Localized display name for the view.
userId String
the user ID.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi