This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
getCloudEndpoint.go
56 lines (51 loc) · 2.17 KB
/
getCloudEndpoint.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package v20190601
import (
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func LookupCloudEndpoint(ctx *pulumi.Context, args *LookupCloudEndpointArgs, opts ...pulumi.InvokeOption) (*LookupCloudEndpointResult, error) {
var rv LookupCloudEndpointResult
err := ctx.Invoke("azure-nextgen:storagesync/v20190601:getCloudEndpoint", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
type LookupCloudEndpointArgs struct {
// Name of Cloud Endpoint object.
CloudEndpointName string `pulumi:"cloudEndpointName"`
// The name of the resource group. The name is case insensitive.
ResourceGroupName string `pulumi:"resourceGroupName"`
// Name of Storage Sync Service resource.
StorageSyncServiceName string `pulumi:"storageSyncServiceName"`
// Name of Sync Group resource.
SyncGroupName string `pulumi:"syncGroupName"`
}
// Cloud Endpoint object.
type LookupCloudEndpointResult struct {
// Azure file share name
AzureFileShareName *string `pulumi:"azureFileShareName"`
// Backup Enabled
BackupEnabled string `pulumi:"backupEnabled"`
// Friendly Name
FriendlyName *string `pulumi:"friendlyName"`
// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Id string `pulumi:"id"`
// Resource Last Operation Name
LastOperationName *string `pulumi:"lastOperationName"`
// CloudEndpoint lastWorkflowId
LastWorkflowId *string `pulumi:"lastWorkflowId"`
// The name of the resource
Name string `pulumi:"name"`
// Partnership Id
PartnershipId *string `pulumi:"partnershipId"`
// CloudEndpoint Provisioning State
ProvisioningState *string `pulumi:"provisioningState"`
// Storage Account Resource Id
StorageAccountResourceId *string `pulumi:"storageAccountResourceId"`
// Storage Account Tenant Id
StorageAccountTenantId *string `pulumi:"storageAccountTenantId"`
// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type string `pulumi:"type"`
}