Documentation
¶
Index ¶
- type App
- type AppAccessControlRequest
- type AppAccessControlResponse
- type AppDeployment
- type AppDeploymentArtifacts
- type AppDeploymentStatus
- type AppPermission
- type AppPermissions
- type AppPermissionsDescription
- type AppPermissionsRequest
- type AppStatus
- type CreateAppDeploymentRequest
- type CreateAppRequest
- type DeleteAppRequest
- type DeleteResponse
- type GetAppDeploymentRequest
- type GetAppPermissionLevelsRequest
- type GetAppPermissionLevelsResponse
- type GetAppPermissionsRequest
- type GetAppRequest
- type ListAppDeploymentsRequest
- type ListAppDeploymentsResponse
- type ListAppsRequest
- type ListAppsResponse
- type StartAppRequest
- type StopAppRequest
- type StopAppResponse
- type UpdateAppRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { // The active deployment of the app. ActiveDeployment *AppDeployment `tfsdk:"active_deployment" tf:"optional"` // The creation time of the app. Formatted timestamp in ISO 6801. CreateTime types.String `tfsdk:"create_time" tf:"optional"` // The email of the user that created the app. Creator types.String `tfsdk:"creator" tf:"optional"` // The description of the app. Description types.String `tfsdk:"description" tf:"optional"` // The name of the app. The name must contain only lowercase alphanumeric // characters and hyphens. It must be unique within the workspace. Name types.String `tfsdk:"name" tf:""` // The pending deployment of the app. PendingDeployment *AppDeployment `tfsdk:"pending_deployment" tf:"optional"` ServicePrincipalId types.Int64 `tfsdk:"service_principal_id" tf:"optional"` ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"` Status *AppStatus `tfsdk:"status" tf:"optional"` // The update time of the app. Formatted timestamp in ISO 6801. UpdateTime types.String `tfsdk:"update_time" tf:"optional"` // The email of the user that last updated the app. Updater types.String `tfsdk:"updater" tf:"optional"` // The URL of the app once it is deployed. Url types.String `tfsdk:"url" tf:"optional"` }
type AppAccessControlRequest ¶
type AppAccessControlRequest struct { // name of the group GroupName types.String `tfsdk:"group_name" tf:"optional"` // Permission level PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` // application ID of a service principal ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"` // name of the user UserName types.String `tfsdk:"user_name" tf:"optional"` }
type AppAccessControlResponse ¶
type AppAccessControlResponse struct { // All permissions. AllPermissions []AppPermission `tfsdk:"all_permissions" tf:"optional"` // Display name of the user or service principal. DisplayName types.String `tfsdk:"display_name" tf:"optional"` // name of the group GroupName types.String `tfsdk:"group_name" tf:"optional"` // Name of the service principal. ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"` // name of the user UserName types.String `tfsdk:"user_name" tf:"optional"` }
type AppDeployment ¶
type AppDeployment struct { // The creation time of the deployment. Formatted timestamp in ISO 6801. CreateTime types.String `tfsdk:"create_time" tf:"optional"` // The email of the user creates the deployment. Creator types.String `tfsdk:"creator" tf:"optional"` // The deployment artifacts for an app. DeploymentArtifacts *AppDeploymentArtifacts `tfsdk:"deployment_artifacts" tf:"optional"` // The unique id of the deployment. DeploymentId types.String `tfsdk:"deployment_id" tf:"optional"` // The mode of which the deployment will manage the source code. Mode types.String `tfsdk:"mode" tf:"optional"` // The workspace file system path of the source code used to create the app // deployment. This is different from // `deployment_artifacts.source_code_path`, which is the path used by the // deployed app. The former refers to the original source code location of // the app in the workspace during deployment creation, whereas the latter // provides a system generated stable snapshotted source code path used by // the deployment. SourceCodePath types.String `tfsdk:"source_code_path" tf:""` // Status and status message of the deployment Status *AppDeploymentStatus `tfsdk:"status" tf:"optional"` // The update time of the deployment. Formatted timestamp in ISO 6801. UpdateTime types.String `tfsdk:"update_time" tf:"optional"` }
type AppDeploymentArtifacts ¶
type AppDeploymentStatus ¶
type AppPermission ¶
type AppPermissions ¶
type AppPermissions struct { AccessControlList []AppAccessControlResponse `tfsdk:"access_control_list" tf:"optional"` ObjectId types.String `tfsdk:"object_id" tf:"optional"` ObjectType types.String `tfsdk:"object_type" tf:"optional"` }
type AppPermissionsRequest ¶
type AppPermissionsRequest struct { AccessControlList []AppAccessControlRequest `tfsdk:"access_control_list" tf:"optional"` // The app for which to get or manage permissions. AppName types.String `tfsdk:"-"` }
type CreateAppDeploymentRequest ¶
type CreateAppDeploymentRequest struct { // The name of the app. AppName types.String `tfsdk:"-"` // The mode of which the deployment will manage the source code. Mode types.String `tfsdk:"mode" tf:"optional"` // The workspace file system path of the source code used to create the app // deployment. This is different from // `deployment_artifacts.source_code_path`, which is the path used by the // deployed app. The former refers to the original source code location of // the app in the workspace during deployment creation, whereas the latter // provides a system generated stable snapshotted source code path used by // the deployment. SourceCodePath types.String `tfsdk:"source_code_path" tf:""` }
type CreateAppRequest ¶
type CreateAppRequest struct { // The description of the app. Description types.String `tfsdk:"description" tf:"optional"` // The name of the app. The name must contain only lowercase alphanumeric // characters and hyphens. It must be unique within the workspace. Name types.String `tfsdk:"name" tf:""` }
type DeleteAppRequest ¶
Delete an app
type DeleteResponse ¶
type DeleteResponse struct { }
type GetAppDeploymentRequest ¶
type GetAppDeploymentRequest struct { // The name of the app. AppName types.String `tfsdk:"-"` // The unique id of the deployment. DeploymentId types.String `tfsdk:"-"` }
Get an app deployment
type GetAppPermissionLevelsRequest ¶
type GetAppPermissionLevelsRequest struct { // The app for which to get or manage permissions. AppName types.String `tfsdk:"-"` }
Get app permission levels
type GetAppPermissionLevelsResponse ¶
type GetAppPermissionLevelsResponse struct { // Specific permission levels PermissionLevels []AppPermissionsDescription `tfsdk:"permission_levels" tf:"optional"` }
type GetAppPermissionsRequest ¶
type GetAppPermissionsRequest struct { // The app for which to get or manage permissions. AppName types.String `tfsdk:"-"` }
Get app permissions
type GetAppRequest ¶
Get an app
type ListAppDeploymentsRequest ¶
type ListAppDeploymentsRequest struct { // The name of the app. AppName types.String `tfsdk:"-"` // Upper bound for items returned. PageSize types.Int64 `tfsdk:"-"` // Pagination token to go to the next page of apps. Requests first page if // absent. PageToken types.String `tfsdk:"-"` }
List app deployments
type ListAppDeploymentsResponse ¶
type ListAppDeploymentsResponse struct { // Deployment history of the app. AppDeployments []AppDeployment `tfsdk:"app_deployments" tf:"optional"` // Pagination token to request the next page of apps. NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"` }
type ListAppsRequest ¶
type ListAppsRequest struct { // Upper bound for items returned. PageSize types.Int64 `tfsdk:"-"` // Pagination token to go to the next page of apps. Requests first page if // absent. PageToken types.String `tfsdk:"-"` }
List apps
type ListAppsResponse ¶
type StartAppRequest ¶
type StopAppRequest ¶
type StopAppResponse ¶
type StopAppResponse struct { }
type UpdateAppRequest ¶
type UpdateAppRequest struct { // The description of the app. Description types.String `tfsdk:"description" tf:"optional"` // The name of the app. The name must contain only lowercase alphanumeric // characters and hyphens. It must be unique within the workspace. Name types.String `tfsdk:"name" tf:""` }
Click to show internal directories.
Click to hide internal directories.