| Requires the role: | TenantReader |
| GET | /api/patching/windows/assignments/{Id} | Returns a single patching window assignment by its id | |
|---|---|---|---|
| GET | /patching/windows/assignments/{Id} | Returns a single patching window assignment by its id |
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CoreService.ServiceModel.Dtos.Patching.Crud
Imports CoreService.ServiceModel.Dtos.Patching.Responses
Imports CoreService.ServiceModel.Dtos.Resources.Common.Responses
Imports CoreService.ServiceModel.Dtos.Base.Responses
Imports YCO.Dune.Models.Enums
Imports CoreService.ServiceModel.Dtos.Deployments.Responses
Imports CoreService.ServiceModel.Enums
Imports CoreService.ServiceModel.Dtos.Collections.Responses
Imports CoreService.ServiceModel.Dtos.Tenant.Responses
Imports CoreService.ServiceModel.Dtos.ResourceProviders.Responses
Namespace Global
Namespace CoreService.ServiceModel.Dtos.Base.Responses
Public Partial Class ConfigItemDto
Implements IConfigItem
Public Overridable Property Id As Guid
Public Overridable Property Name As String
Public Overridable Property DisplayName As String Implements IConfigItem.DisplayName
Public Overridable Property Description As String Implements IConfigItem.Description
Public Overridable Property ObjectType As ObjectTypes
Public Overridable Property SelfLink As String Implements IConfigItem.SelfLink
Public Overridable Property Tags As IList(Of TagDto) Implements IConfigItem.Tags
Public Overridable Property Path As IList(Of PathItemDto)
Public Overridable Property Created As Date
Public Overridable Property CreateUser As String
Public Overridable Property CreateUserId As String
Public Overridable Property Modified As Date
Public Overridable Property ModifyUser As String
Public Overridable Property ModifyUserId As String
Public Overridable Property IsDeleted As Boolean
Public Overridable Property Deleted As Date?
Public Overridable Property DeleteUser As String
Public Overridable Property DeleteUserId As String
Public Overridable Property Links As IList(Of LinkDto)
End Class
Public Partial Class LinkDto
Public Overridable Property Caption As String
Public Overridable Property Rel As String
Public Overridable Property HRef As String
Public Overridable Property Method As String
End Class
Public Partial Class ParameterDto
Public Overridable Property Name As String
Public Overridable Property Description As String
'''<Summary>
'''Value in form of a json string (e.g. Number = 1234, String = "foo", Boolean = false). Note: string values need extra quotes
'''</Summary>
Public Overridable Property Value As String
'''<Summary>
'''Optional default value for the frontend. Needs to be in the same format as the value
'''</Summary>
Public Overridable Property [Default] As String
'''<Summary>
'''Optional parameters do not need to have a value. Default -> Optional=false
'''</Summary>
Public Overridable Property [Optional] As Boolean
'''<Summary>
'''The data type of the value and default property
'''</Summary>
Public Overridable Property Type As ParameterValueType
Public Overridable Property Validation As String
End Class
Public Partial Class PathItemDto
Public Overridable Property Label As String
Public Overridable Property Link As String
Public Overridable Property ObjectType As ObjectTypes
Public Overridable Property ObjectId As Guid
End Class
Public Partial Class TagDto
Public Overridable Property Name As String
Public Overridable Property Value As String
Public Overridable Property IsProtected As Boolean
End Class
Public Partial Class VariableDto
Public Overridable Property Name As String
'''<Summary>
'''Value in form of a json string (e.g. Number = 1234, String = "foo", Boolean = false, List = [1,2,3,4]). Note: string values need extra quotes
'''</Summary>
Public Overridable Property Value As String
'''<Summary>
'''The data type of the value property
'''</Summary>
Public Overridable Property Type As ValueDataType
Public Overridable Property Description As String
Public Overridable Property IsInherited As Boolean
Public Overridable Property Environment As Environments?
End Class
End Namespace
Namespace CoreService.ServiceModel.Dtos.Collections.Responses
Public Partial Class DeploymentCollectionDto
Inherits ConfigItemDto
Implements IHasTenantId
Public Overridable Property TenantId As Guid Implements IHasTenantId.TenantId
Public Overridable Property Tenant As TenantDto
'''<Summary>
'''A collection scoped list of variables
'''</Summary>
Public Overridable Property Variables As IList(Of VariableDto)
'''<Summary>
'''Defines the collection where scanned but not deployed resources will be stored
'''</Summary>
Public Overridable Property IsLostAndFound As Boolean
'''<Summary>
'''The monthly cost budget for the whole collection
'''</Summary>
Public Overridable Property MonthlyBudget As Decimal?
'''<Summary>
'''Whether to send budget information mails to the collection owners
'''</Summary>
Public Overridable Property SendBudgetNotificationMails As Boolean?
'''<Summary>
'''A threshold, when to send the first budget warning mail
'''</Summary>
Public Overridable Property BudgetWarningThresholdPercent As Integer?
Public Overridable Property Links As IList(Of LinkDto)
End Class
End Namespace
Namespace CoreService.ServiceModel.Dtos.Deployments.Responses
Public Partial Class DeploymentDto
Inherits ConfigItemDto
Implements IHasParentDto
Implements IHasTenantId
Implements IEnvironmentSpecific
'''<Summary>
'''The operational state of the deployment (Running, Stopped, None, Unknown)
'''</Summary>
Public Overridable Property OperationalState As OperationalStates
'''<Summary>
'''How many start/stop-capable resources are currently running
'''</Summary>
Public Overridable Property ResourcesRunning As Integer
'''<Summary>
'''Total number of start/stop-capable resources in this deployment
'''</Summary>
Public Overridable Property ResourcesTotal As Integer
'''<Summary>
'''Shorter id than the guid which can be used for automation (tenant wide unique) prefixed with a 'd'. E.g. dr36x3
'''</Summary>
Public Overridable Property ShortId As String
'''<Summary>
'''The user defined part of the name property {userDefined}_{environment}
'''</Summary>
Public Overridable Property NameUserDefinedPart As String
'''<Summary>
'''The id of the tenant
'''</Summary>
Public Overridable Property TenantId As Guid Implements IHasTenantId.TenantId
'''<Summary>
'''The state of the deployment
'''</Summary>
Public Overridable Property State As LifecycleStates
'''<Summary>
'''The environment the deployment is deployed in
'''</Summary>
Public Overridable Property Environment As Environments Implements IEnvironmentSpecific.Environment
'''<Summary>
'''The id of the template which was used to create the deployment
'''</Summary>
Public Overridable Property TemplateId As Guid?
'''<Summary>
'''Shows if a deployment was rolled out through a dune template or not
'''</Summary>
Public Overridable Property IsTemplateBased As Boolean
'''<Summary>
'''The parameters which were used to create this deployment
'''</Summary>
Public Overridable Property Parameters As IList(Of ParameterDto)
'''<Summary>
'''A deployment scoped list of variables used for deployment of resources
'''</Summary>
Public Overridable Property Variables As IList(Of VariableDto)
'''<Summary>
'''A snapshot of the varialbs used to create the deployment
'''</Summary>
Public Overridable Property VariablesSnapshot As IList(Of VariableDto)
'''<Summary>
'''The id of the parent (collection) of the deployment
'''</Summary>
Public Overridable Property ParentId As Guid
'''<Summary>
'''The parent (collection) of the deployment
'''</Summary>
Public Overridable Property Parent As ConfigItemDto Implements IHasParentDto.Parent
'''<Summary>
'''The Date when the resources got deployed
'''</Summary>
Public Overridable Property ValidFrom As Date
'''<Summary>
'''The Date when the deployment expires and has to be reevaluated
'''</Summary>
Public Overridable Property ValidUntil As Date?
'''<Summary>
'''The deployment will never expire
'''</Summary>
Public Overridable Property IsNeverExpiring As Boolean
'''<Summary>
'''The date, when the deployments resources will receive updates
'''</Summary>
Public Overridable Property NextPatchDate As Date?
'''<Summary>
'''The default resource provider where the resources are deployed
'''</Summary>
Public Overridable Property DefaultResourceProviderId As Guid
'''<Summary>
'''Deployments which have issues in Jobs are marked with NeedsAttention
'''</Summary>
Public Overridable Property NeedsAttention As Boolean
'''<Summary>
'''Composition show if all resources in the deployment are dune native, dune foreign or a mix of both
'''</Summary>
Public Overridable Property Composition As ResourceCompositions
'''<Summary>
'''The monthly cost budget for the whole collection
'''</Summary>
Public Overridable Property MonthlyBudget As Decimal?
'''<Summary>
'''Whether to send budget information mails to the collection owners
'''</Summary>
Public Overridable Property SendBudgetNotificationMails As Boolean?
'''<Summary>
'''A threshold, when to send the first budget warning mail
'''</Summary>
Public Overridable Property BudgetWarningThresholdPercent As Integer?
Public Overridable Property Links As IList(Of LinkDto)
End Class
End Namespace
Namespace CoreService.ServiceModel.Dtos.Patching.Crud
'''<Summary>
'''Returns a single patching window assignment by its id
'''</Summary>
<Api(Description:="Returns a single patching window assignment by its id")>
<ApiResponse(Description:="Success", IsDefaultResponse:=true, ResponseType:=GetType(PatchingWindowAssignmentDto), StatusCode:=200)>
Public Partial Class GetPatchingWindowAssignment
Implements IBaseRequest
Implements IHasId
Implements IHasTenantName
Implements IGet
'''<Summary>
'''The primary key of every config item
'''</Summary>
<ApiMember(DataType:="string", Description:="The primary key of every config item", Format:="guid", IsRequired:=true, ParameterType:="path")>
Public Overridable Property Id As Guid Implements IHasId.Id
<ApiMember(DataType:="string", IsRequired:=true, ParameterType:="header")>
<Validate(Validator:="NotEmpty")>
Public Overridable Property TenantName As String Implements IHasTenantName.TenantName
End Class
End Namespace
Namespace CoreService.ServiceModel.Dtos.Patching.Responses
Public Partial Class PatchingWindowAssignmentDto
Public Overridable Property Id As Guid
Public Overridable Property ResourceId As Guid
Public Overridable Property Resource As ResourceDto
Public Overridable Property PatchingWindowId As Guid
Public Overridable Property PatchingWindow As PatchingWindowDto
End Class
Public Partial Class PatchingWindowDto
Public Overridable Property Id As Guid
Public Overridable Property Name As String
Public Overridable Property DayOfWeek As DayOfWeek
Public Overridable Property MonthlyOccurence As MonthlyDayOccurence
Public Overridable Property TimeOfDay As TimeOnly
Public Overridable Property Duration As TimeSpan
Public Overridable Property IsDefault As Boolean
End Class
End Namespace
Namespace CoreService.ServiceModel.Dtos.ResourceProviders.Responses
Public Partial Class ProviderConfigEntryDto
Public Overridable Property Name As String
Public Overridable Property Value As String
Public Overridable Property isSecure As Boolean
End Class
Public Partial Class ResourceProviderDto
Inherits ConfigItemDto
Implements IHasTenantId
Public Overridable Property TenantId As Guid Implements IHasTenantId.TenantId
'''<Summary>
'''If environment cannot be detected while scanning, default environment will be used
'''</Summary>
Public Overridable Property DefaultEnvironment As Environments
'''<Summary>
'''List off all allowed environments for this resource provider
'''</Summary>
Public Overridable Property AllowedEnvironments As IList(Of Environments)
'''<Summary>
'''Defines the provider type (e.g. Azure, Aws)
'''</Summary>
Public Overridable Property Type As ResourceProviderTypes
'''<Summary>
'''Additional generic data which varies depending on ProviderType
'''</Summary>
Public Overridable Property Config As IList(Of ProviderConfigEntryDto)
'''<Summary>
'''Disabled ResourceProviders cannot be selected for new deployments
'''</Summary>
Public Overridable Property IsDisabled As Boolean
'''<Summary>
'''Shows if a ResourceProvider has been initialized and can accept deployments (resources)
'''</Summary>
Public Overridable Property IsReadyForDeployments As Boolean
'''<Summary>
'''The cost for the current month
'''</Summary>
Public Overridable Property CostCurrentMonth As Decimal
'''<Summary>
'''The cost for the last month
'''</Summary>
Public Overridable Property CostLastMonth As Decimal
'''<Summary>
'''The cost currency
'''</Summary>
Public Overridable Property CostCurrency As String
End Class
End Namespace
Namespace CoreService.ServiceModel.Dtos.Resources.Common.Responses
Public Partial Class ResourceDto
Inherits ConfigItemDto
Implements IResourceDto
'''<Summary>
'''Free text field to store an external resource id
'''</Summary>
Public Overridable Property ExtId As String Implements IResourceDto.ExtId
'''<Summary>
'''Free text field to store an external resource type
'''</Summary>
Public Overridable Property ExtType As String Implements IResourceDto.ExtType
'''<Summary>
'''Free text field to store an external resource name
'''</Summary>
Public Overridable Property ExtName As String
'''<Summary>
'''The id of the tenant
'''</Summary>
Public Overridable Property TenantId As Guid
'''<Summary>
'''The id of the parent (ResourceGroup)
'''</Summary>
Public Overridable Property ParentId As Guid
'''<Summary>
'''The parent (ResourceGroup
'''</Summary>
Public Overridable Property Parent As ConfigItemDto
'''<Summary>
'''The id of the parent (Deployment
'''</Summary>
Public Overridable Property DeploymentId As Guid Implements IResourceDto.DeploymentId
'''<Summary>
'''The parent (Deployement
'''</Summary>
Public Overridable Property Deployment As DeploymentDto Implements IResourceDto.Deployment
'''<Summary>
'''The id of the collection the resource belongs to
'''</Summary>
Public Overridable Property CollectionId As Guid
'''<Summary>
'''The collection the resource belongs to
'''</Summary>
Public Overridable Property Collection As DeploymentCollectionDto
'''<Summary>
'''The environment the resourcegroup is deployed in
'''</Summary>
Public Overridable Property Environment As Environments
'''<Summary>
'''The id of the provider of the resource (e.g. Azure, AWS, other DC provider
'''</Summary>
Public Overridable Property ResourceProviderId As Guid Implements IResourceDto.ResourceProviderId
'''<Summary>
'''The provider of the resource (e.g. Azure, AWS, other DC provider
'''</Summary>
Public Overridable Property ResourceProvider As ResourceProviderDto Implements IResourceDto.ResourceProvider
'''<Summary>
'''State of the resource
'''</Summary>
Public Overridable Property State As OperationalStates Implements IResourceDto.State
Public Overridable Property Variables As IList(Of VariableDto) Implements IResourceDto.Variables
'''<Summary>
'''Can be used for dc location
'''</Summary>
Public Overridable Property Location As String Implements IResourceDto.Location
'''<Summary>
'''Last time the resource was seen/updated by a scan/cfgmgmt run etc.
'''</Summary>
Public Overridable Property LastSeen As Date? Implements IResourceDto.LastSeen
'''<Summary>
'''Last time the resource has been patched successfully
'''</Summary>
Public Overridable Property LastPatchDate As Date?
'''<Summary>
'''Scheduled time for the next patching window
'''</Summary>
Public Overridable Property NextPatchDate As Date?
'''<Summary>
'''Time of the last successfull backup
'''</Summary>
Public Overridable Property LastBackupDate As Date?
'''<Summary>
'''True = scanned (not deployed from dune template), False = deployed from dune with template
'''</Summary>
Public Overridable Property IsForeign As Boolean Implements IResourceDto.IsForeign
'''<Summary>
'''Is alerting in external monitoring activated
'''</Summary>
Public Overridable Property IsAlerting As Boolean Implements IResourceDto.IsAlerting
'''<Summary>
'''Used to identify external monitoring maintenance/downtime id
'''</Summary>
Public Overridable Property AlertingDisabledId As String Implements IResourceDto.AlertingDisabledId
'''<Summary>
'''Reason why alerting is disabled
'''</Summary>
Public Overridable Property AlertingDisabledReason As String Implements IResourceDto.AlertingDisabledReason
'''<Summary>
'''Identifies the resource as vulnerable (security)
'''</Summary>
Public Overridable Property IsVulnerable As Boolean Implements IResourceDto.IsVulnerable
'''<Summary>
'''Reason why the resource is vulnerable
'''</Summary>
Public Overridable Property VulnerabilityReason As String Implements IResourceDto.VulnerabilityReason
'''<Summary>
'''True if resource is in cmdb but missing on provider/infra
'''</Summary>
Public Overridable Property IsMissingOnProvider As Boolean Implements IResourceDto.IsMissingOnProvider
'''<Summary>
'''Shows if a resource can be started/stopped
'''</Summary>
Public Overridable Property SupportsStartStop As Boolean Implements IResourceDto.SupportsStartStop
'''<Summary>
'''The cost for the current month
'''</Summary>
Public Overridable Property CostCurrentMonth As Decimal Implements IResourceDto.CostCurrentMonth
'''<Summary>
'''The cost for the last month
'''</Summary>
Public Overridable Property CostLastMonth As Decimal Implements IResourceDto.CostLastMonth
'''<Summary>
'''The cost currency
'''</Summary>
Public Overridable Property CostCurrency As String Implements IResourceDto.CostCurrency
'''<Summary>
'''Additional generic configs
'''</Summary>
Public Overridable Property Config As Dictionary(Of String, Object) = New Dictionary(Of String, Object)
Public Overridable Property Links As IList(Of LinkDto)
End Class
End Namespace
Namespace CoreService.ServiceModel.Dtos.Tenant.Responses
Public Partial Class TenantDto
Inherits ConfigItemDto
'''<Summary>
'''Variables defined on tenant level
'''</Summary>
Public Overridable Property Variables As IList(Of VariableDto)
'''<Summary>
'''Allowed email domains used for authentication
'''</Summary>
Public Overridable Property AllowedMailDomains As IList(Of String)
'''<Summary>
'''List of licensed modules for this tenant
'''</Summary>
Public Overridable Property LicensedModules As IList(Of String)
'''<Summary>
'''Amount of days until a Deployment expires
'''</Summary>
Public Overridable Property DefaultDeploymentLifetimeDays As Short
'''<Summary>
'''Max amount of days until a Deployment expires
'''</Summary>
Public Overridable Property MaxDeploymentLifetimeDays As Short
'''<Summary>
'''Amount of days without patching until a unpatched warning is shown
'''</Summary>
Public Overridable Property SystemUnpatchedWarningDays As Short
'''<Summary>
'''Amount of hours without backup until a backup missing warning is shown
'''</Summary>
Public Overridable Property SystemBackupMissingWarningHours As Short
'''<Summary>
'''Amount of days until a vulnerable resource is getting stopped
'''</Summary>
Public Overridable Property StopVulnerableResourceAfterDays As Short
'''<Summary>
'''Amount of days before deployment expiration, which triggers the expiration warning
'''</Summary>
Public Overridable Property DeploymentExpirationWarningDays As Short
'''<Summary>
'''Amount of days the patch notification is sent out prior to the patch date
'''</Summary>
Public Overridable Property PatchNotificationDays As Short
'''<Summary>
'''Use a pool with your own hostnames (true) or let the hostname be auto generated (false)
'''</Summary>
Public Overridable Property UseCustomHostnames As Boolean
'''<Summary>
'''After how many days inactive vulnerabilities will be purged from database
'''</Summary>
Public Overridable Property RemoveInactiveVulnerabilitiesAfterDays As Short
Public Overridable Property Links As IList(Of LinkDto)
End Class
End Namespace
Namespace CoreService.ServiceModel.Enums
Public Enum Environments
Lab
Poc
Dev
Test
Int
Uat
Prod
End Enum
Public Enum LifecycleStates
[New]
Deploying
Deployed
Removing
Removed
Failure
Imported
End Enum
Public Enum MonthlyDayOccurence
First = 1
Second = 2
Third = 3
Fourth = 4
End Enum
Public Enum OperationalStates
None
Starting
Running
Stopping
Stopped
Restarting
Deleting
Unknown
End Enum
Public Enum ParameterValueType
[String]
Number
[Boolean]
SecureString
End Enum
Public Enum ResourceCompositions
Native
Foreign
Mixed
End Enum
Public Enum ResourceProviderTypes
Azure
AmazonWebServices
GoogleCloudPlatform
ActiveDirectoryServices
DomainNameSystem
SwisscomESC
AzureKeyVault
End Enum
Public Enum ValueDataType
[String]
Number
[Boolean]
List
End Enum
End Namespace
Namespace YCO.Dune.Models.Enums
Public Enum ObjectTypes
None
ConfigItem
Tenant
Collection
Resource
ComputeNode
VirtualMachine
PhysicalMachine
Disk
Subnet
IPAddress
Job
JobEvent
FreezePeriod
ResourceGroup
Deployment
ResourceGroupTemplate
DeploymentTemplate
ResourceProvider
GenericResource
Role
Permission
User
PatchingWindow
Update
ReportDefinition
TimeSeries
DataPoint
Action
ActionAssignment
UserNote
End Enum
End Namespace
End Namespace
VB.NET GetPatchingWindowAssignment DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/patching/windows/assignments/{Id} HTTP/1.1
Host: core.starburst.svc
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"id":"00000000-0000-0000-0000-000000000000","resourceId":"00000000-0000-0000-0000-000000000000","resource":{"extId":"String","extType":"String","extName":"String","tenantId":"00000000-0000-0000-0000-000000000000","parentId":"00000000-0000-0000-0000-000000000000","parent":{"id":"00000000-0000-0000-0000-000000000000","name":"String","displayName":"String","description":"String","objectType":"None","selfLink":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String","links":null},"deploymentId":"00000000-0000-0000-0000-000000000000","deployment":{"operationalState":"None","resourcesRunning":0,"resourcesTotal":0,"shortId":"String","nameUserDefinedPart":"String","tenantId":"00000000-0000-0000-0000-000000000000","state":"New","environment":"Lab","templateId":"00000000-0000-0000-0000-000000000000","isTemplateBased":true,"parameters":null,"variables":null,"variablesSnapshot":null,"parentId":"00000000-0000-0000-0000-000000000000","parent":{"id":"00000000-0000-0000-0000-000000000000","name":"String","displayName":"String","description":"String","objectType":"None","selfLink":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String","links":null},"validFrom":"0001-01-01T00:00:00.0000000Z","validUntil":"0001-01-01T00:00:00.0000000Z","isNeverExpiring":false,"nextPatchDate":"0001-01-01T00:00:00.0000000Z","defaultResourceProviderId":"00000000-0000-0000-0000-000000000000","needsAttention":false,"composition":"Native","monthlyBudget":0,"sendBudgetNotificationMails":false,"budgetWarningThresholdPercent":0,"links":[{"caption":"Index","rel":"index","hRef":"/deployments/","method":"GET"},{"caption":"Collection","rel":"up","hRef":"/collections/00000000-0000-0000-0000-000000000000","method":"GET"},{"caption":"Resourcegroups","rel":"down","hRef":"/resourcegroups?parentId=00000000-0000-0000-0000-000000000000","method":"GET"}],"id":"00000000-0000-0000-0000-000000000000","name":"String","displayName":"String","description":"String","objectType":"None","selfLink":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String"},"collectionId":"00000000-0000-0000-0000-000000000000","collection":{"tenantId":"00000000-0000-0000-0000-000000000000","tenant":{"variables":null,"allowedMailDomains":null,"licensedModules":null,"defaultDeploymentLifetimeDays":0,"maxDeploymentLifetimeDays":0,"systemUnpatchedWarningDays":0,"systemBackupMissingWarningHours":0,"stopVulnerableResourceAfterDays":0,"deploymentExpirationWarningDays":0,"patchNotificationDays":0,"useCustomHostnames":false,"removeInactiveVulnerabilitiesAfterDays":0,"links":[{"caption":"Collections","rel":"down","hRef":"/collections/","method":"GET"}],"id":"00000000-0000-0000-0000-000000000000","name":"String","displayName":"String","description":"String","objectType":"None","selfLink":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String"},"variables":null,"isLostAndFound":false,"monthlyBudget":0,"sendBudgetNotificationMails":false,"budgetWarningThresholdPercent":0,"links":[{"caption":"Index","rel":"up","hRef":"/collections/","method":"GET"},{"caption":"Deployments","rel":"down","hRef":"/deployments?parentId=00000000-0000-0000-0000-000000000000","method":"GET"}],"id":"00000000-0000-0000-0000-000000000000","name":"String","displayName":"String","description":"String","objectType":"None","selfLink":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String"},"environment":"Lab","resourceProviderId":"00000000-0000-0000-0000-000000000000","resourceProvider":{"tenantId":"00000000-0000-0000-0000-000000000000","defaultEnvironment":"Lab","allowedEnvironments":null,"type":"Azure","config":null,"isDisabled":false,"isReadyForDeployments":false,"costCurrentMonth":0,"costLastMonth":0,"costCurrency":"String","id":"00000000-0000-0000-0000-000000000000","name":"String","displayName":"String","description":"String","objectType":"None","selfLink":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String","links":null},"state":"None","variables":null,"location":"String","lastSeen":"0001-01-01T00:00:00.0000000Z","lastPatchDate":"0001-01-01T00:00:00.0000000Z","nextPatchDate":"0001-01-01T00:00:00.0000000Z","lastBackupDate":"0001-01-01T00:00:00.0000000Z","isForeign":false,"isAlerting":false,"alertingDisabledId":"String","alertingDisabledReason":"String","isVulnerable":false,"vulnerabilityReason":"String","isMissingOnProvider":false,"supportsStartStop":false,"costCurrentMonth":0,"costLastMonth":0,"costCurrency":"String","config":{"String":{}},"links":[{"caption":"Index","rel":"index","hRef":"/resources/","method":"GET"},{"caption":"ResourceGroup","rel":"up","hRef":"/resourcegroups/00000000-0000-0000-0000-000000000000","method":"GET"},{"caption":"Deployment","rel":"up","hRef":"/deployments/00000000-0000-0000-0000-000000000000","method":"GET"}],"id":"00000000-0000-0000-0000-000000000000","name":"String","displayName":"String","description":"String","objectType":"None","selfLink":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String"},"patchingWindowId":"00000000-0000-0000-0000-000000000000","patchingWindow":{"id":"00000000-0000-0000-0000-000000000000","name":"String","dayOfWeek":"Sunday","monthlyOccurence":"First","timeOfDay":"00:00:00","duration":"00:00:00","isDefault":false}}