다음을 통해 공유


CloudServiceProperties 클래스

클라우드 서비스 속성.

변수는 서버에서만 채워지고 요청을 보낼 때 무시됩니다.

상속
azure.mgmt.compute._serialization.Model
CloudServiceProperties

생성자

CloudServiceProperties(*, package_url: str | None = None, configuration: str | None = None, configuration_url: str | None = None, start_cloud_service: bool | None = None, upgrade_mode: str | _models.CloudServiceUpgradeMode | None = None, role_profile: _models.CloudServiceRoleProfile | None = None, os_profile: _models.CloudServiceOsProfile | None = None, network_profile: _models.CloudServiceNetworkProfile | None = None, extension_profile: _models.CloudServiceExtensionProfile | None = None, **kwargs)

변수

package_url
str

Blob 서비스에서 서비스 패키지의 위치를 참조하는 URL을 지정합니다. 서비스 패키지 URL은 모든 스토리지 계정의 SAS(공유 액세스 서명) URI일 수 있습니다. 이 속성은 쓰기 전용 속성이며 GET 호출에서 반환되지 않습니다.

configuration
str

클라우드 서비스에 대한 XML 서비스 구성(.cscfg)을 지정합니다.

configuration_url
str

Blob 서비스에서 서비스 구성의 위치를 참조하는 URL을 지정합니다. 서비스 패키지 URL은 모든 스토리지 계정의 SAS(공유 액세스 서명) URI일 수 있습니다. 이 속성은 쓰기 전용 속성이며 GET 호출에서 반환되지 않습니다.

start_cloud_service
bool

(선택 사항) 클라우드 서비스를 만든 직후에 시작할지 여부를 나타냅니다. 기본값은 true입니다. false이면 서비스 모델이 계속 배포되지만 코드가 즉시 실행되지는 않습니다. 대신 서비스를 시작할 때 Start를 호출할 때까지 서비스는 PoweredOff입니다. 배포된 서비스는 전원이 공급되더라도 여전히 요금이 부과됩니다.

upgrade_mode
str 또는 CloudServiceUpgradeMode

클라우드 서비스에 대한 업데이트 모드입니다. 서비스가 배포될 때 업데이트 도메인에 역할 인스턴스가 할당됩니다. 업데이트는 각 업데이트 도메인에서 수동으로 시작되거나 모든 업데이트 도메인에서 자동으로 시작될 수 있습니다. 가능한 값은 <br />``<br />자동<br />``<br />수동<br />``<br />동시<br />``<br /> (지정되지 않은 경우)이며 기본값은 Auto입니다. 수동으로 설정된 경우 업데이트를 적용하려면 PUT UpdateDomain을 호출해야 합니다. Auto로 설정하면 업데이트가 각 업데이트 도메인에 순서대로 자동으로 적용됩니다. 알려진 값은 "자동", "수동" 및 "동시"입니다.

role_profile
CloudServiceRoleProfile

클라우드 서비스의 역할 프로필을 설명합니다.

os_profile
CloudServiceOsProfile

클라우드 서비스의 OS 프로필에 대해 설명합니다.

network_profile
CloudServiceNetworkProfile

클라우드 서비스에 대한 네트워크 프로필입니다.

extension_profile
CloudServiceExtensionProfile

클라우드 서비스 확장 프로필에 대해 설명합니다.

provisioning_state
str

응답에만 표시되는 프로비전 상태입니다.

unique_id
str

클라우드 서비스의 고유 식별자입니다.