meraki.organizations.LicensesMove
Explore with Pulumi AI
~>Warning: This resource does not represent a real-world entity in Meraki Dashboard, therefore changing or deleting this resource on its own has no immediate effect. Instead, it is a task part of a Meraki Dashboard workflow. It is executed in Meraki without any additional verification. It does not check if it was executed before or if a similar configuration or action already existed previously.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.organizations.LicensesMove;
import com.pulumi.meraki.organizations.LicensesMoveArgs;
import com.pulumi.meraki.organizations.inputs.LicensesMoveParametersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new LicensesMove("example", LicensesMoveArgs.builder()
.organizationId("string")
.parameters(LicensesMoveParametersArgs.builder()
.dest_organization_id("2930418")
.license_ids(
"123",
"456")
.build())
.build());
ctx.export("merakiOrganizationsLicensesMoveExample", example);
}
}
resources:
example:
type: meraki:organizations:LicensesMove
properties:
organizationId: string
parameters:
dest_organization_id: '2930418'
license_ids:
- '123'
- '456'
outputs:
merakiOrganizationsLicensesMoveExample: ${example}
Create LicensesMove Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LicensesMove(name: string, args: LicensesMoveArgs, opts?: CustomResourceOptions);
@overload
def LicensesMove(resource_name: str,
args: LicensesMoveArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LicensesMove(resource_name: str,
opts: Optional[ResourceOptions] = None,
organization_id: Optional[str] = None,
parameters: Optional[LicensesMoveParametersArgs] = None)
func NewLicensesMove(ctx *Context, name string, args LicensesMoveArgs, opts ...ResourceOption) (*LicensesMove, error)
public LicensesMove(string name, LicensesMoveArgs args, CustomResourceOptions? opts = null)
public LicensesMove(String name, LicensesMoveArgs args)
public LicensesMove(String name, LicensesMoveArgs args, CustomResourceOptions options)
type: meraki:organizations:LicensesMove
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LicensesMoveArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LicensesMoveArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LicensesMoveArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LicensesMoveArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LicensesMoveArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var licensesMoveResource = new Meraki.Organizations.LicensesMove("licensesMoveResource", new()
{
OrganizationId = "string",
Parameters = new Meraki.Organizations.Inputs.LicensesMoveParametersArgs
{
DestOrganizationId = "string",
LicenseIds = new[]
{
"string",
},
},
});
example, err := organizations.NewLicensesMove(ctx, "licensesMoveResource", &organizations.LicensesMoveArgs{
OrganizationId: pulumi.String("string"),
Parameters: &organizations.LicensesMoveParametersArgs{
DestOrganizationId: pulumi.String("string"),
LicenseIds: pulumi.StringArray{
pulumi.String("string"),
},
},
})
var licensesMoveResource = new LicensesMove("licensesMoveResource", LicensesMoveArgs.builder()
.organizationId("string")
.parameters(LicensesMoveParametersArgs.builder()
.destOrganizationId("string")
.licenseIds("string")
.build())
.build());
licenses_move_resource = meraki.organizations.LicensesMove("licensesMoveResource",
organization_id="string",
parameters={
"dest_organization_id": "string",
"license_ids": ["string"],
})
const licensesMoveResource = new meraki.organizations.LicensesMove("licensesMoveResource", {
organizationId: "string",
parameters: {
destOrganizationId: "string",
licenseIds: ["string"],
},
});
type: meraki:organizations:LicensesMove
properties:
organizationId: string
parameters:
destOrganizationId: string
licenseIds:
- string
LicensesMove Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LicensesMove resource accepts the following input properties:
- Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Licenses
Move Parameters
- Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Licenses
Move Parameters Args
- organization
Id String - organizationId path parameter. Organization ID
- parameters
Licenses
Move Parameters
- organization
Id string - organizationId path parameter. Organization ID
- parameters
Licenses
Move Parameters
- organization_
id str - organizationId path parameter. Organization ID
- parameters
Licenses
Move Parameters Args
- organization
Id String - organizationId path parameter. Organization ID
- parameters Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the LicensesMove resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Licenses
Move Item
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Licenses
Move Item
- id String
- The provider-assigned unique ID for this managed resource.
- item
Licenses
Move Item
- id string
- The provider-assigned unique ID for this managed resource.
- item
Licenses
Move Item
- id str
- The provider-assigned unique ID for this managed resource.
- item
Licenses
Move Item
- id String
- The provider-assigned unique ID for this managed resource.
- item Property Map
Look up Existing LicensesMove Resource
Get an existing LicensesMove resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LicensesMoveState, opts?: CustomResourceOptions): LicensesMove
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
item: Optional[LicensesMoveItemArgs] = None,
organization_id: Optional[str] = None,
parameters: Optional[LicensesMoveParametersArgs] = None) -> LicensesMove
func GetLicensesMove(ctx *Context, name string, id IDInput, state *LicensesMoveState, opts ...ResourceOption) (*LicensesMove, error)
public static LicensesMove Get(string name, Input<string> id, LicensesMoveState? state, CustomResourceOptions? opts = null)
public static LicensesMove get(String name, Output<String> id, LicensesMoveState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Item
Licenses
Move Item - Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Licenses
Move Parameters
- Item
Licenses
Move Item Args - Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Licenses
Move Parameters Args
- item
Licenses
Move Item - organization
Id String - organizationId path parameter. Organization ID
- parameters
Licenses
Move Parameters
- item
Licenses
Move Item - organization
Id string - organizationId path parameter. Organization ID
- parameters
Licenses
Move Parameters
- item
Licenses
Move Item Args - organization_
id str - organizationId path parameter. Organization ID
- parameters
Licenses
Move Parameters Args
- item Property Map
- organization
Id String - organizationId path parameter. Organization ID
- parameters Property Map
Supporting Types
LicensesMoveItem, LicensesMoveItemArgs
- Dest
Organization stringId - The ID of the organization to move the licenses to
- License
Ids List<string> - A list of IDs of licenses to move to the new organization
- Dest
Organization stringId - The ID of the organization to move the licenses to
- License
Ids []string - A list of IDs of licenses to move to the new organization
- dest
Organization StringId - The ID of the organization to move the licenses to
- license
Ids List<String> - A list of IDs of licenses to move to the new organization
- dest
Organization stringId - The ID of the organization to move the licenses to
- license
Ids string[] - A list of IDs of licenses to move to the new organization
- dest_
organization_ strid - The ID of the organization to move the licenses to
- license_
ids Sequence[str] - A list of IDs of licenses to move to the new organization
- dest
Organization StringId - The ID of the organization to move the licenses to
- license
Ids List<String> - A list of IDs of licenses to move to the new organization
LicensesMoveParameters, LicensesMoveParametersArgs
- Dest
Organization stringId - The ID of the organization to move the licenses to
- License
Ids List<string> - A list of IDs of licenses to move to the new organization
- Dest
Organization stringId - The ID of the organization to move the licenses to
- License
Ids []string - A list of IDs of licenses to move to the new organization
- dest
Organization StringId - The ID of the organization to move the licenses to
- license
Ids List<String> - A list of IDs of licenses to move to the new organization
- dest
Organization stringId - The ID of the organization to move the licenses to
- license
Ids string[] - A list of IDs of licenses to move to the new organization
- dest_
organization_ strid - The ID of the organization to move the licenses to
- license_
ids Sequence[str] - A list of IDs of licenses to move to the new organization
- dest
Organization StringId - The ID of the organization to move the licenses to
- license
Ids List<String> - A list of IDs of licenses to move to the new organization
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.