text: # coding=utf-8
  # *** 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! ***
  
  import warnings
  import pulumi
  import pulumi.runtime
  from typing import Any, Mapping, Optional, Sequence, Union
  from ... import _utilities, _tables
  
  __all__ = [
      'GetSiteInstanceDeploymentResult',
      'AwaitableGetSiteInstanceDeploymentResult',
      'get_site_instance_deployment',
  ]
  
  warnings.warn("""The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:web:getSiteInstanceDeployment'.""", DeprecationWarning)
  
  @pulumi.output_type
  class GetSiteInstanceDeploymentResult:
      """
      Represents user credentials used for publishing activity
      """
      def __init__(__self__, active=None, author=None, author_email=None, deployer=None, details=None, end_time=None, id=None, kind=None, location=None, message=None, name=None, start_time=None, status=None, tags=None, type=None):
          if active and not isinstance(active, bool):
              raise TypeError("Expected argument 'active' to be a bool")
          pulumi.set(__self__, "active", active)
          if author and not isinstance(author, str):
              raise TypeError("Expected argument 'author' to be a str")
          pulumi.set(__self__, "author", author)
          if author_email and not isinstance(author_email, str):
              raise TypeError("Expected argument 'author_email' to be a str")
          pulumi.set(__self__, "author_email", author_email)
          if deployer and not isinstance(deployer, str):
              raise TypeError("Expected argument 'deployer' to be a str")
          pulumi.set(__self__, "deployer", deployer)
          if details and not isinstance(details, str):
              raise TypeError("Expected argument 'details' to be a str")
          pulumi.set(__self__, "details", details)
          if end_time and not isinstance(end_time, str):
              raise TypeError("Expected argument 'end_time' to be a str")
          pulumi.set(__self__, "end_time", end_time)
          if id and not isinstance(id, str):
              raise TypeError("Expected argument 'id' to be a str")
          pulumi.set(__self__, "id", id)
          if kind and not isinstance(kind, str):
              raise TypeError("Expected argument 'kind' to be a str")
          pulumi.set(__self__, "kind", kind)
          if location and not isinstance(location, str):
              raise TypeError("Expected argument 'location' to be a str")
          pulumi.set(__self__, "location", location)
          if message and not isinstance(message, str):
              raise TypeError("Expected argument 'message' to be a str")
          pulumi.set(__self__, "message", message)
          if name and not isinstance(name, str):
              raise TypeError("Expected argument 'name' to be a str")
          pulumi.set(__self__, "name", name)
          if start_time and not isinstance(start_time, str):
              raise TypeError("Expected argument 'start_time' to be a str")
          pulumi.set(__self__, "start_time", start_time)
          if status and not isinstance(status, int):
              raise TypeError("Expected argument 'status' to be a int")
          pulumi.set(__self__, "status", status)
          if tags and not isinstance(tags, dict):
              raise TypeError("Expected argument 'tags' to be a dict")
          pulumi.set(__self__, "tags", tags)
          if type and not isinstance(type, str):
              raise TypeError("Expected argument 'type' to be a str")
          pulumi.set(__self__, "type", type)
  
      @property
      @pulumi.getter
      def active(self) -> Optional[bool]:
          """
          Active
          """
          return pulumi.get(self, "active")
  
      @property
      @pulumi.getter
      def author(self) -> Optional[str]:
          """
          Author
          """
          return pulumi.get(self, "author")
  
      @property
      @pulumi.getter(name="authorEmail")
      def author_email(self) -> Optional[str]:
          """
          AuthorEmail
          """
          return pulumi.get(self, "author_email")
  
      @property
      @pulumi.getter
      def deployer(self) -> Optional[str]:
          """
          Deployer
          """
          return pulumi.get(self, "deployer")
  
      @property
      @pulumi.getter
      def details(self) -> Optional[str]:
          """
          Detail
          """
          return pulumi.get(self, "details")
  
      @property
      @pulumi.getter(name="endTime")
      def end_time(self) -> Optional[str]:
          """
          EndTime
          """
          return pulumi.get(self, "end_time")
  
      @property
      @pulumi.getter
      def id(self) -> Optional[str]:
          """
          Resource Id
          """
          return pulumi.get(self, "id")
  
      @property
      @pulumi.getter
      def kind(self) -> Optional[str]:
          """
          Kind of resource
          """
          return pulumi.get(self, "kind")
  
      @property
      @pulumi.getter
      def location(self) -> str:
          """
          Resource Location
          """
          return pulumi.get(self, "location")
  
      @property
      @pulumi.getter
      def message(self) -> Optional[str]:
          """
          Message
          """
          return pulumi.get(self, "message")
  
      @property
      @pulumi.getter
      def name(self) -> Optional[str]:
          """
          Resource Name
          """
          return pulumi.get(self, "name")
  
      @property
      @pulumi.getter(name="startTime")
      def start_time(self) -> Optional[str]:
          """
          StartTime
          """
          return pulumi.get(self, "start_time")
  
      @property
      @pulumi.getter
      def status(self) -> Optional[int]:
          """
          Status
          """
          return pulumi.get(self, "status")
  
      @property
      @pulumi.getter
      def tags(self) -> Optional[Mapping[str, str]]:
          """
          Resource tags
          """
          return pulumi.get(self, "tags")
  
      @property
      @pulumi.getter
      def type(self) -> Optional[str]:
          """
          Resource type
          """
          return pulumi.get(self, "type")
  
  
  class AwaitableGetSiteInstanceDeploymentResult(GetSiteInstanceDeploymentResult):
      # pylint: disable=using-constant-test
      def __await__(self):
          if False:
              yield self
          return GetSiteInstanceDeploymentResult(
              active=self.active,
              author=self.author,
              author_email=self.author_email,
              deployer=self.deployer,
              details=self.details,
              end_time=self.end_time,
              id=self.id,
              kind=self.kind,
              location=self.location,
              message=self.message,
              name=self.name,
              start_time=self.start_time,
              status=self.status,
              tags=self.tags,
              type=self.type)
  
  
  def get_site_instance_deployment(id: Optional[str] = None,
                                   instance_id: Optional[str] = None,
                                   name: Optional[str] = None,
                                   resource_group_name: Optional[str] = None,
                                   opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSiteInstanceDeploymentResult:
      """
      Represents user credentials used for publishing activity
      Latest API Version: 2015-08-01.
  
  
      :param str id: Id of the deployment
      :param str instance_id: Id of web app instance
      :param str name: Name of web app
      :param str resource_group_name: Name of resource group
      """
      pulumi.log.warn("get_site_instance_deployment is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:web:getSiteInstanceDeployment'.")
      __args__ = dict()
      __args__['id'] = id
      __args__['instanceId'] = instance_id
      __args__['name'] = name
      __args__['resourceGroupName'] = resource_group_name
      if opts is None:
          opts = pulumi.InvokeOptions()
      if opts.version is None:
          opts.version = _utilities.get_version()
      __ret__ = pulumi.runtime.invoke('azure-nextgen:web/latest:getSiteInstanceDeployment', __args__, opts=opts, typ=GetSiteInstanceDeploymentResult).value
  
      return AwaitableGetSiteInstanceDeploymentResult(
          active=__ret__.active,
          author=__ret__.author,
          author_email=__ret__.author_email,
          deployer=__ret__.deployer,
          details=__ret__.details,
          end_time=__ret__.end_time,
          id=__ret__.id,
          kind=__ret__.kind,
          location=__ret__.location,
          message=__ret__.message,
          name=__ret__.name,
          start_time=__ret__.start_time,
          status=__ret__.status,
          tags=__ret__.tags,
          type=__ret__.type)
  