コード例 #1
0
 public static Task <GetProximityPlacementGroupResult> InvokeAsync(GetProximityPlacementGroupArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetProximityPlacementGroupResult>("azure-nextgen:compute/v20190701:getProximityPlacementGroup", args ?? new GetProximityPlacementGroupArgs(), options.WithVersion());
コード例 #2
0
 public static Task <GetClusterResult> InvokeAsync(GetClusterArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetClusterResult>("azure-nextgen:batchai/v20170901preview:getCluster", args ?? new GetClusterArgs(), options.WithVersion());
コード例 #3
0
 /// <summary>
 /// This data source provides the Service Mesh Service Meshes of the current Alibaba Cloud user.
 ///
 /// &gt; **NOTE:** Available in v1.138.0+.
 ///
 /// {{% examples %}}
 /// ## Example Usage
 /// {{% example %}}
 ///
 /// Basic Usage
 ///
 /// ```csharp
 /// using Pulumi;
 /// using AliCloud = Pulumi.AliCloud;
 ///
 /// class MyStack : Stack
 /// {
 ///     public MyStack()
 ///     {
 ///         var ids = Output.Create(AliCloud.ServiceMesh.GetServiceMeshes.InvokeAsync(new AliCloud.ServiceMesh.GetServiceMeshesArgs
 ///         {
 ///             Ids =
 ///             {
 ///                 "example_id",
 ///             },
 ///         }));
 ///         this.ServiceMeshServiceMeshId1 = ids.Apply(ids =&gt; ids.Meshes?[0]?.Id);
 ///         var nameRegex = Output.Create(AliCloud.ServiceMesh.GetServiceMeshes.InvokeAsync(new AliCloud.ServiceMesh.GetServiceMeshesArgs
 ///         {
 ///             NameRegex = "^my-ServiceMesh",
 ///         }));
 ///         this.ServiceMeshServiceMeshId2 = nameRegex.Apply(nameRegex =&gt; nameRegex.Meshes?[0]?.Id);
 ///         var status = Output.Create(AliCloud.ServiceMesh.GetServiceMeshes.InvokeAsync(new AliCloud.ServiceMesh.GetServiceMeshesArgs
 ///         {
 ///             Ids =
 ///             {
 ///                 "example_id",
 ///             },
 ///             Status = "running",
 ///         }));
 ///         this.ServiceMeshServiceMeshId3 = status.Apply(status =&gt; status.Meshes?[0]?.Id);
 ///     }
 ///
 ///     [Output("serviceMeshServiceMeshId1")]
 ///     public Output&lt;string&gt; ServiceMeshServiceMeshId1 { get; set; }
 ///     [Output("serviceMeshServiceMeshId2")]
 ///     public Output&lt;string&gt; ServiceMeshServiceMeshId2 { get; set; }
 ///     [Output("serviceMeshServiceMeshId3")]
 ///     public Output&lt;string&gt; ServiceMeshServiceMeshId3 { get; set; }
 /// }
 /// ```
 /// {{% /example %}}
 /// {{% /examples %}}
 /// </summary>
 public static Task <GetServiceMeshesResult> InvokeAsync(GetServiceMeshesArgs?args = null, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetServiceMeshesResult>("alicloud:servicemesh/getServiceMeshes:getServiceMeshes", args ?? new GetServiceMeshesArgs(), options.WithDefaults());
コード例 #4
0
 public static Task <GetConnectorResult> InvokeAsync(GetConnectorArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetConnectorResult>("azure-nextgen:costmanagement/v20180801preview:getConnector", args ?? new GetConnectorArgs(), options.WithVersion());
 public static Task <ListShareSubscriptionSynchronizationDetailsResult> InvokeAsync(ListShareSubscriptionSynchronizationDetailsArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <ListShareSubscriptionSynchronizationDetailsResult>("azure-nextgen:datashare/v20191101:listShareSubscriptionSynchronizationDetails", args ?? new ListShareSubscriptionSynchronizationDetailsArgs(), options.WithVersion());
コード例 #6
0
 /// <summary>
 /// This data source provides the Video Surveillance System Groups of the current Alibaba Cloud user.
 ///
 /// &gt; **NOTE:** Available in v1.135.0+.
 ///
 /// {{% examples %}}
 /// ## Example Usage
 /// {{% example %}}
 ///
 /// Basic Usage
 ///
 /// ```csharp
 /// using Pulumi;
 /// using AliCloud = Pulumi.AliCloud;
 ///
 /// class MyStack : Stack
 /// {
 ///     public MyStack()
 ///     {
 ///         var defaultSystemGroup = new AliCloud.VideoSurveillance.SystemGroup("defaultSystemGroup", new AliCloud.VideoSurveillance.SystemGroupArgs
 ///         {
 ///             GroupName = "groupname",
 ///             InProtocol = "rtmp",
 ///             OutProtocol = "flv",
 ///             PlayDomain = "your_plan_domain",
 ///             PushDomain = "your_push_domain",
 ///         });
 ///         var defaultSystemGroups = AliCloud.VideoSurveillance.GetSystemGroups.Invoke(new AliCloud.VideoSurveillance.GetSystemGroupsInvokeArgs
 ///         {
 ///             Ids =
 ///             {
 ///                 defaultSystemGroup.Id,
 ///             },
 ///         });
 ///         this.VsGroup = defaultSystemGroups.Apply(defaultSystemGroups =&gt; defaultSystemGroups.Ids?[0]);
 ///     }
 ///
 ///     [Output("vsGroup")]
 ///     public Output&lt;string&gt; VsGroup { get; set; }
 /// }
 /// ```
 /// {{% /example %}}
 /// {{% /examples %}}
 /// </summary>
 public static Task <GetSystemGroupsResult> InvokeAsync(GetSystemGroupsArgs?args = null, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetSystemGroupsResult>("alicloud:videosurveillance/getSystemGroups:getSystemGroups", args ?? new GetSystemGroupsArgs(), options.WithDefaults());
コード例 #7
0
 public static Task <GetCertificateResult> InvokeAsync(GetCertificateArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetCertificateResult>("azure-nextgen:apimanagement/v20191201:getCertificate", args ?? new GetCertificateArgs(), options.WithVersion());
コード例 #8
0
 /// <summary>
 /// Provides information about a Lambda Alias.
 ///
 /// {{% examples %}}
 /// {{% /examples %}}
 /// </summary>
 public static Task <GetAliasResult> InvokeAsync(GetAliasArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetAliasResult>("aws:lambda/getAlias:getAlias", args ?? new GetAliasArgs(), options.WithVersion());
コード例 #9
0
 public static Task <GetTableResourceTableResult> InvokeAsync(GetTableResourceTableArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetTableResourceTableResult>("azure-nextgen:documentdb/v20200401:getTableResourceTable", args ?? new GetTableResourceTableArgs(), options.WithVersion());
コード例 #10
0
 public static Task <GetWebAppPremierAddOnSlotResult> InvokeAsync(GetWebAppPremierAddOnSlotArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetWebAppPremierAddOnSlotResult>("azure-nextgen:web/latest:getWebAppPremierAddOnSlot", args ?? new GetWebAppPremierAddOnSlotArgs(), options.WithVersion());
コード例 #11
0
 /// <summary>
 /// Use this data source to access information about a Platform Image.
 ///
 /// {{% examples %}}
 /// ## Example Usage
 /// {{% example %}}
 ///
 /// ```csharp
 /// using Pulumi;
 /// using Azure = Pulumi.Azure;
 ///
 /// class MyStack : Stack
 /// {
 ///     public MyStack()
 ///     {
 ///         var example = Output.Create(Azure.Compute.GetPlatformImage.InvokeAsync(new Azure.Compute.GetPlatformImageArgs
 ///         {
 ///             Location = "West Europe",
 ///             Publisher = "Canonical",
 ///             Offer = "UbuntuServer",
 ///             Sku = "16.04-LTS",
 ///         }));
 ///         this.Id = example.Apply(example =&gt; example.Id);
 ///     }
 ///
 ///     [Output("id")]
 ///     public Output&lt;string&gt; Id { get; set; }
 /// }
 /// ```
 /// {{% /example %}}
 /// {{% /examples %}}
 /// </summary>
 public static Output <GetPlatformImageResult> Invoke(GetPlatformImageInvokeArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.Invoke <GetPlatformImageResult>("azure:compute/getPlatformImage:getPlatformImage", args ?? new GetPlatformImageInvokeArgs(), options.WithVersion());
コード例 #12
0
 /// <summary>
 /// This data source provides the Cr Chart Repositories of the current Alibaba Cloud user.
 ///
 /// &gt; **NOTE:** Available in v1.149.0+.
 ///
 /// {{% examples %}}
 /// ## Example Usage
 /// {{% example %}}
 ///
 /// Basic Usage
 ///
 /// ```csharp
 /// using Pulumi;
 /// using AliCloud = Pulumi.AliCloud;
 ///
 /// class MyStack : Stack
 /// {
 ///     public MyStack()
 ///     {
 ///         var ids = Output.Create(AliCloud.CR.GetChartRepositories.InvokeAsync(new AliCloud.CR.GetChartRepositoriesArgs
 ///         {
 ///             InstanceId = "example_value",
 ///             Ids =
 ///             {
 ///                 "example_value-1",
 ///                 "example_value-2",
 ///             },
 ///         }));
 ///         this.CrChartRepositoryId1 = data.Alicloud_cr_chart_repositories.Default.Ids[0];
 ///     }
 ///
 ///     [Output("crChartRepositoryId1")]
 ///     public Output&lt;string&gt; CrChartRepositoryId1 { get; set; }
 /// }
 /// ```
 /// {{% /example %}}
 /// {{% /examples %}}
 /// </summary>
 public static Output <GetChartRepositoriesResult> Invoke(GetChartRepositoriesInvokeArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.Invoke <GetChartRepositoriesResult>("alicloud:cr/getChartRepositories:getChartRepositories", args ?? new GetChartRepositoriesInvokeArgs(), options.WithDefaults());
コード例 #13
0
 /// <summary>
 /// The Autoscaling Groups data source allows access to the list of AWS
 /// ASGs within a specific region. This will allow you to pass a list of AutoScaling Groups to other resources.
 ///
 ///
 ///
 /// &gt; This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/autoscaling_groups.html.markdown.
 /// </summary>
 public static Task <GetAutoscalingGroupsResult> InvokeAsync(GetAutoscalingGroupsArgs?args = null, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetAutoscalingGroupsResult>("aws:index/getAutoscalingGroups:getAutoscalingGroups", args ?? InvokeArgs.Empty, options.WithVersion());
コード例 #14
0
ファイル: GetUserPools.cs プロジェクト: mattwang88/pulumi-aws
 /// <summary>
 /// Use this data source to get a list of cognito user pools.
 ///
 /// &gt; This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/cognito_user_pools.markdown.
 /// </summary>
 public static Task <GetUserPoolsResult> InvokeAsync(GetUserPoolsArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetUserPoolsResult>("aws:cognito/getUserPools:getUserPools", args ?? InvokeArgs.Empty, options.WithVersion());
コード例 #15
0
 public static Task <GetSqlDatabaseResult> InvokeAsync(GetSqlDatabaseArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetSqlDatabaseResult>("azure-nextgen:synapse/v20200401preview:getSqlDatabase", args ?? new GetSqlDatabaseArgs(), options.WithVersion());
 public static Task <ListWebAppSitePushSettingsSlotResult> InvokeAsync(ListWebAppSitePushSettingsSlotArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <ListWebAppSitePushSettingsSlotResult>("azure-nextgen:web/v20181101:listWebAppSitePushSettingsSlot", args ?? new ListWebAppSitePushSettingsSlotArgs(), options.WithVersion());
コード例 #17
0
 public static Task <ListWebAppFunctionSecretsResult> InvokeAsync(ListWebAppFunctionSecretsArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <ListWebAppFunctionSecretsResult>("azure-nextgen:web/v20190801:listWebAppFunctionSecrets", args ?? new ListWebAppFunctionSecretsArgs(), options.WithVersion());
コード例 #18
0
 public static Task <GetMachineLearningComputeResult> InvokeAsync(GetMachineLearningComputeArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetMachineLearningComputeResult>("azure-nextgen:machinelearningservices/v20200401:getMachineLearningCompute", args ?? new GetMachineLearningComputeArgs(), options.WithVersion());
コード例 #19
0
 public static Task <GetFlowLogResult> InvokeAsync(GetFlowLogArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetFlowLogResult>("azure-nextgen:network/v20200501:getFlowLog", args ?? new GetFlowLogArgs(), options.WithVersion());
コード例 #20
0
 /// <summary>
 /// Client or app secret used in IdentityProviders, Aad, OpenID or OAuth.
 /// API Version: 2019-12-01.
 /// </summary>
 public static Task <ListDelegationSettingSecretsResult> InvokeAsync(ListDelegationSettingSecretsArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <ListDelegationSettingSecretsResult>("azure-nextgen:apimanagement:listDelegationSettingSecrets", args ?? new ListDelegationSettingSecretsArgs(), options.WithVersion());
コード例 #21
0
 public static Task <GetLoadBalancerBackendAddressPoolResult> InvokeAsync(GetLoadBalancerBackendAddressPoolArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetLoadBalancerBackendAddressPoolResult>("azure-nextgen:network/v20200601:getLoadBalancerBackendAddressPool", args ?? new GetLoadBalancerBackendAddressPoolArgs(), options.WithVersion());
コード例 #22
0
 /// <summary>
 /// This data source can be used to fetch information about a specific
 /// IAM group. By using this data source, you can reference IAM group
 /// properties without having to hard code ARNs as input.
 ///
 /// {{% examples %}}
 /// ## Example Usage
 /// {{% example %}}
 ///
 /// ```csharp
 /// using Pulumi;
 /// using Aws = Pulumi.Aws;
 ///
 /// class MyStack : Stack
 /// {
 ///     public MyStack()
 ///     {
 ///         var example = Output.Create(Aws.Iam.GetGroup.InvokeAsync(new Aws.Iam.GetGroupArgs
 ///         {
 ///             GroupName = "an_example_group_name",
 ///         }));
 ///     }
 ///
 /// }
 /// ```
 /// {{% /example %}}
 /// {{% /examples %}}
 /// </summary>
 public static Task <GetGroupResult> InvokeAsync(GetGroupArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetGroupResult>("aws:iam/getGroup:getGroup", args ?? new GetGroupArgs(), options.WithVersion());
コード例 #23
0
 /// <summary>
 /// Get information about an existing Enhanced Database.
 ///
 /// {{% examples %}}
 /// ## Example Usage
 /// {{% example %}}
 ///
 /// ```csharp
 /// using Pulumi;
 /// using Sakuracloud = Pulumi.Sakuracloud;
 ///
 /// class MyStack : Stack
 /// {
 ///     public MyStack()
 ///     {
 ///         var foobar = Output.Create(Sakuracloud.GetEnhancedDB.InvokeAsync(new Sakuracloud.GetEnhancedDBArgs
 ///         {
 ///             Filter = new Sakuracloud.Inputs.GetEnhancedDBFilterArgs
 ///             {
 ///                 Names =
 ///                 {
 ///                     "foobar",
 ///                 },
 ///             },
 ///         }));
 ///     }
 ///
 /// }
 /// ```
 /// {{% /example %}}
 /// {{% /examples %}}
 /// </summary>
 public static Task <GetEnhancedDBResult> InvokeAsync(GetEnhancedDBArgs?args = null, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetEnhancedDBResult>("sakuracloud:index/getEnhancedDB:getEnhancedDB", args ?? new GetEnhancedDBArgs(), options.WithVersion());
 public static Task <ListMachineLearningComputeKeysResult> InvokeAsync(ListMachineLearningComputeKeysArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <ListMachineLearningComputeKeysResult>("azure-nextgen:machinelearningservices/v20200801:listMachineLearningComputeKeys", args ?? new ListMachineLearningComputeKeysArgs(), options.WithVersion());
コード例 #25
0
 public static Task <GetProfileResult> InvokeAsync(GetProfileArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetProfileResult>("azure-nextgen:customerinsights/latest:getProfile", args ?? new GetProfileArgs(), options.WithVersion());
コード例 #26
0
 public static Task <GetReplicationPolicyResult> InvokeAsync(GetReplicationPolicyArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetReplicationPolicyResult>("azure-nextgen:recoveryservices/latest:getReplicationPolicy", args ?? new GetReplicationPolicyArgs(), options.WithVersion());
コード例 #27
0
 public static Task <ListIotHubResourceKeysResult> InvokeAsync(ListIotHubResourceKeysArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <ListIotHubResourceKeysResult>("azure-nextgen:devices/v20200831preview:listIotHubResourceKeys", args ?? new ListIotHubResourceKeysArgs(), options.WithVersion());
コード例 #28
0
 public static Task <GetHubRouteTableResult> InvokeAsync(GetHubRouteTableArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetHubRouteTableResult>("azure-nextgen:network/latest:getHubRouteTable", args ?? new GetHubRouteTableArgs(), options.WithVersion());
コード例 #29
0
 public static Task <GetAssessmentResult> InvokeAsync(GetAssessmentArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetAssessmentResult>("azure-nextgen:security/v20190101preview:getAssessment", args ?? new GetAssessmentArgs(), options.WithVersion());
コード例 #30
0
 /// <summary>
 /// The health alert resource.
 /// </summary>
 public static Task <GetHealthAlertResult> InvokeAsync(GetHealthAlertArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetHealthAlertResult>("azure-nextgen:alertsmanagement/v20200804preview:getHealthAlert", args ?? new GetHealthAlertArgs(), options.WithVersion());